From f73cb3ce03c35770605ce83a49906cc4825c00a6 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Mon, 3 Jul 2023 19:32:23 +1000 Subject: improve WorldServer debug logging is now consistent with WorldServerThread's use of the world id, which is generally more appropriate --- 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 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(); -- cgit v1.2.3