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

Method uninit

source/game/StarTechController.cpp:102–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102void TechController::uninit() {
103 m_parentEntity = nullptr;
104 m_movementController = nullptr;
105 m_statusController = nullptr;
106
107 for (auto& module : m_techModules)
108 unloadModule(module);
109}
110
111void TechController::setLoadedTech(StringList const& techModules, bool forceLoad) {
112 if (forceLoad || loadedTech() != techModules) {

Callers 1

unloadModuleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected