MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / Pause

Method Pause

src/lua/LuaControl.cpp:110–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108
109
110int 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
119int LuaControl::DropFlag(lua_State* L) {

Callers

nothing calls this directly

Calls 3

ValidScriptFunction · 0.85
luaL_errorFunction · 0.50
runMethod · 0.45

Tested by

no test coverage detected