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

summaryrefslogtreecommitdiff
path: root/source/game/StarSystemWorldServerThread.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-03-19 13:35:55 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-03-19 13:35:55 +1100
commit5ca42599ef52236274938dba9bd6e113611cb734 (patch)
treed8eea4d1064ba0821f173f3f154646c142d21884 /source/game/StarSystemWorldServerThread.cpp
parent5f01d2d4d7c19e280f02cd2e0ecd73990f2373a4 (diff)
make timescale a server command and add a tickrate command
Diffstat (limited to 'source/game/StarSystemWorldServerThread.cpp')
-rw-r--r--source/game/StarSystemWorldServerThread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarSystemWorldServerThread.cpp b/source/game/StarSystemWorldServerThread.cpp
index 281ae3e..96e41b4 100644
--- a/source/game/StarSystemWorldServerThread.cpp
+++ b/source/game/StarSystemWorldServerThread.cpp
@@ -91,7 +91,7 @@ void SystemWorldServerThread::update() {
p.second(m_systemWorld->clientShip(p.first).get());
if (!m_pause || *m_pause == false)
- m_systemWorld->update(SystemWorldTimestep);
+ m_systemWorld->update(SystemWorldTimestep * GlobalTimescale);
m_triggerStorage = m_systemWorld->triggeredStorage();
// important to set destinations before getting locations