]> git.xonotic.org Git - xonotic/darkplaces.git/commit - sv_main.c
Improve server lag detection and reporting
authorbones_was_here <bones_was_here@xonotic.au>
Sun, 30 Jul 2023 18:24:04 +0000 (04:24 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Mon, 31 Jul 2023 06:48:01 +0000 (16:48 +1000)
commit8fed075ccd1a5e5a0973afe91e49ef09c29a2628
tree150da2061208774b0c89476c3080140c445cb434
parentad190f0b6223954681ced0d704132c91214a2e4e
Improve server lag detection and reporting

On a dedicated server, significant lag is reported to players (so they
know it wasn't the network or their machine).

Cvar sv_lagreporting_strict logs even slight lag that was "recovered" to
console.

sv_lagreporting_always enables these for empty servers or singleplayer.

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
sv_main.c