Skip to content

Commit

Permalink
fix interface.removeComponent being an alias for interface.addComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Jun 29, 2015
1 parent ab1226c commit 580b610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lua/LuaScriptInterface.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 580b610

Please sign in to comment.