diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-03 19:32:23 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-03 19:32:23 +1000 |
commit | f73cb3ce03c35770605ce83a49906cc4825c00a6 (patch) | |
tree | 5f2d405596418e003da830cf05033b6b5110132b /source/game/StarSystemWorldServerThread.cpp | |
parent | 0d266bebe12f01e0035619ef927430e0c1afaf98 (diff) |
improve WorldServer debug logging
is now consistent with WorldServerThread's use of the world id, which is generally more appropriate
Diffstat (limited to 'source/game/StarSystemWorldServerThread.cpp')
-rw-r--r-- | source/game/StarSystemWorldServerThread.cpp | 2 |
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(); |