| 100 | } |
| 101 | |
| 102 | void 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 | |
| 111 | void TechController::setLoadedTech(StringList const& techModules, bool forceLoad) { |
| 112 | if (forceLoad || loadedTech() != techModules) { |