SC_SENSOR in Elements API

This commit is contained in:
Simon Robertshaw 2012-11-03 18:06:19 +00:00
parent bd473f02ca
commit e3a016d9c9

View File

@ -700,6 +700,7 @@ void LuaScriptInterface::initElementsAPI()
lua_pushinteger(l, SC_LIFE); lua_setfield(l, elementsAPI, "SC_LIFE");
lua_pushinteger(l, SC_TOOL); lua_setfield(l, elementsAPI, "SC_TOOL");
lua_pushinteger(l, SC_DECO); lua_setfield(l, elementsAPI, "SC_DECO");
lua_pushinteger(l, SC_SENSOR); lua_setfield(l, elementsAPI, "SC_SENSOR");
//Element identifiers
for(int i = 0; i < PT_NUM; i++)