fix interface.removeComponent being an alias for interface.addComponent

This commit is contained in:
jacob1 2015-06-29 16:25:39 -04:00
parent ab1226c58b
commit 580b6101c4

View File

@ -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);