From 5ca42599ef52236274938dba9bd6e113611cb734 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Tue, 19 Mar 2024 13:35:55 +1100 Subject: make timescale a server command and add a tickrate command --- source/game/StarSystemWorldServerThread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/game/StarSystemWorldServerThread.cpp') 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 -- cgit v1.2.3