MCPcopy Create free account
hub / github.com/SnowyMouse/chimera / unload_scripts

Function unload_scripts

src/chimera/lua/lua_script.cpp:199–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197 }
198
199 void unload_scripts() noexcept {
200 scripts.clear();
201 }
202
203 LuaScript &script_from_state(lua_State *state) noexcept {
204 for(std::size_t i = 0; i < scripts.size(); i++) {

Callers 2

reload_scripts_commandFunction · 0.85
destroy_lua_scriptingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected