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

summaryrefslogtreecommitdiff
path: root/source/game/StarSystemWorldServerThread.cpp
diff options
context:
space:
mode:
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 dd9b9b8..8035975 100644
--- a/source/game/StarSystemWorldServerThread.cpp
+++ b/source/game/StarSystemWorldServerThread.cpp
@@ -52,7 +52,7 @@ void SystemWorldServerThread::run() {
TickRateApproacher tickApproacher(1.0 / SystemWorldTimestep, 0.5);
while (!m_stop) {
- LogMap::set(strf("system_{}_update_fps", m_systemLocation), tickApproacher.rate());
+ LogMap::set(strf("system_{}_update_rate", m_systemLocation), strf("{:4.2f}Hz", tickApproacher.rate()));
update();