Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/scripting/StarLuaComponents.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/scripting/StarLuaComponents.hpp')
-rw-r--r--source/game/scripting/StarLuaComponents.hpp7
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>