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

Function Sleep

src/bzrobots/LuaScript.cpp:719–722  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

717//============================================================================//
718
719static int Sleep(lua_State* L) {
720 BzTime::sleep(luaL_checkdouble(L, 1));
721 return 0;
722}
723
724
725// whacky bit of dev'ing fun

Callers 6

yeldMethod · 0.85
verifyconnectFunction · 0.85
wait_msFunction · 0.85
go_sleepFunction · 0.85
mainFunction · 0.85
sleepMethod · 0.85

Calls 1

luaL_checkdoubleFunction · 0.85

Tested by

no test coverage detected