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

Method SetTarget

src/lua/LuaControl.cpp:128–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126
127
128int LuaControl::SetTarget(lua_State* L) {
129 if (!ValidScript(L)) {
130 luaL_error(L, "this script can not control target locks");
131 }
132 CMDMGR.run("identify");
133 return 0;
134}
135
136
137//============================================================================//

Callers

nothing calls this directly

Calls 3

ValidScriptFunction · 0.85
luaL_errorFunction · 0.50
runMethod · 0.45

Tested by

no test coverage detected