mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-31 03:39:57 +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},
|
{"showWindow", interface_showWindow},
|
||||||
{"closeWindow", interface_closeWindow},
|
{"closeWindow", interface_closeWindow},
|
||||||
{"addComponent", interface_addComponent},
|
{"addComponent", interface_addComponent},
|
||||||
{"removeComponent", interface_addComponent},
|
{"removeComponent", interface_removeComponent},
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
luaL_register(l, "interface", interfaceAPIMethods);
|
luaL_register(l, "interface", interfaceAPIMethods);
|
||||||
|
Reference in New Issue
Block a user