diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-04 20:45:43 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-04 20:45:43 +1000 |
commit | bf7418073d727e70a6564d9b2d79a1430cdc75ac (patch) | |
tree | b4707a01af7175efdb386899ceef8144da066d76 /source/game/scripting | |
parent | e3461e90531345650fe70ada38d875a68f87f416 (diff) |
Move input callback creation
Diffstat (limited to 'source/game/scripting')
-rw-r--r-- | source/game/scripting/StarLuaComponents.hpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source/game/scripting/StarLuaComponents.hpp b/source/game/scripting/StarLuaComponents.hpp index ac18106..bc00309 100644 --- a/source/game/scripting/StarLuaComponents.hpp +++ b/source/game/scripting/StarLuaComponents.hpp @@ -283,11 +283,6 @@ void LuaWorldComponent<Base>::init(World* world) { Base::setLuaRoot(world->luaRoot()); Base::addCallbacks("world", LuaBindings::makeWorldCallbacks(world)); - - if (world->isClient()) { - Base::addCallbacks("input", LuaBindings::makeInputCallbacks()); - } - Base::init(); } @@ -295,8 +290,6 @@ template <typename Base> void LuaWorldComponent<Base>::uninit() { Base::uninit(); Base::removeCallbacks("world"); - - Base::removeCallbacks("input"); } template <typename Base> |