MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / stopLua

Method stopLua

source/game/StarUniverseClient.cpp:560–565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

558}
559
560void UniverseClient::stopLua() {
561 for (auto& p : m_scriptContexts)
562 p.second->uninit();
563
564 m_scriptContexts.clear();
565}
566
567LuaRootPtr UniverseClient::luaRoot() {
568 return m_luaRoot;

Callers

nothing calls this directly

Calls 2

uninitMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected