| 99 | |
| 100 | |
| 101 | int LuaControl::Spawn(lua_State* L) { |
| 102 | if (!ValidScript(L)) { |
| 103 | luaL_error(L, "this script can not control spawns"); |
| 104 | } |
| 105 | CMDMGR.run("restart"); |
| 106 | return 0; |
| 107 | } |
| 108 | |
| 109 | |
| 110 | int LuaControl::Pause(lua_State* L) { |
nothing calls this directly
no test coverage detected