fix interface.removeComponent being an alias for interface.addComponent
This commit is contained in:
parent
ab1226c58b
commit
580b6101c4
@ -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);
|
||||
|
Reference in New Issue
Block a user