diff --git a/src/lua/LuaScriptInterface.cpp b/src/lua/LuaScriptInterface.cpp index 720f8516b..2b7cba722 100644 --- a/src/lua/LuaScriptInterface.cpp +++ b/src/lua/LuaScriptInterface.cpp @@ -447,7 +447,7 @@ void LuaScriptInterface::initInterfaceAPI() {"showWindow", interface_showWindow}, {"closeWindow", interface_closeWindow}, {"addComponent", interface_addComponent}, - {"removeComponent", interface_addComponent}, + {"removeComponent", interface_removeComponent}, {NULL, NULL} }; luaL_register(l, "interface", interfaceAPIMethods);