Lua autorun, fixes #99

This commit is contained in:
Simon Robertshaw
2012-08-14 13:14:49 +01:00
parent fed38185fd
commit e420ee51b1

View File

@@ -225,6 +225,8 @@ tpt.partsdata = nil");
lua_el_mode[i] = 0; lua_el_mode[i] = 0;
} }
//Autorun
luacon_eval("dofile(\"autorun.lua\")"); //Autorun lua script
} }
bool LuaScriptInterface::OnBrushChanged(int brushType, int rx, int ry) bool LuaScriptInterface::OnBrushChanged(int brushType, int rx, int ry)