| 108 | |
| 109 | |
| 110 | int LuaControl::Pause(lua_State* L) { |
| 111 | if (!ValidScript(L)) { |
| 112 | luaL_error(L, "this script can not control pausing"); |
| 113 | } |
| 114 | CMDMGR.run("pause"); |
| 115 | return 0; |
| 116 | } |
| 117 | |
| 118 | |
| 119 | int LuaControl::DropFlag(lua_State* L) { |
nothing calls this directly
no test coverage detected