| 117 | |
| 118 | |
| 119 | int LuaControl::DropFlag(lua_State* L) { |
| 120 | if (!ValidScript(L)) { |
| 121 | luaL_error(L, "this script can not control flag drops"); |
| 122 | } |
| 123 | CMDMGR.run("drop"); |
| 124 | return 0; |
| 125 | } |
| 126 | |
| 127 | |
| 128 | int LuaControl::SetTarget(lua_State* L) { |
nothing calls this directly
no test coverage detected