Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarSystemWorldClient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/StarSystemWorldClient.cpp')
-rw-r--r--source/game/StarSystemWorldClient.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/game/StarSystemWorldClient.cpp b/source/game/StarSystemWorldClient.cpp
index eb25124..e390860 100644
--- a/source/game/StarSystemWorldClient.cpp
+++ b/source/game/StarSystemWorldClient.cpp
@@ -75,7 +75,8 @@ void SystemWorldClient::update(float dt) {
m_clientShips.clear();
m_ship = {};
m_location = Vec3I();
- }
+ } else if (auto celestialSlave = as<CelestialSlaveDatabase>(m_celestialDatabase))
+ celestialSlave->signalSystem(currentSystem()); // keeps the celestial chunk for our current system alive
}
List<SystemObjectPtr> SystemWorldClient::objects() const {