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

Function ValidScript

src/lua/LuaControl.cpp:53–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51//============================================================================//
52
53static inline bool ValidScript(lua_State* L) {
54 return ((L2H(L) == luaBzOrg) ||
55 (L2H(L) == luaRules) ||
56 LuaHandle::GetDevMode());
57}
58
59
60//============================================================================//

Callers 7

MoveMethod · 0.85
FireMethod · 0.85
JumpMethod · 0.85
SpawnMethod · 0.85
PauseMethod · 0.85
DropFlagMethod · 0.85
SetTargetMethod · 0.85

Calls 1

L2HFunction · 0.85

Tested by

no test coverage detected