mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 03:09:53 +02:00
fix interface.removeComponent being an alias for interface.addComponent
This commit is contained in:
@@ -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