]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
Properly reset server timers and perf stats after level change
authorbones_was_here <bones_was_here@xonotic.au>
Sun, 30 Jul 2023 18:45:56 +0000 (04:45 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Sun, 30 Jul 2023 18:45:56 +0000 (04:45 +1000)
commitd3b8dc6b859c81a72fa1ea2cccb5064a319c32fc
tree255bc2245ffde886da7104019fcdd45a105afa5f
parent94b0826a045fab935ff81ea2c9ac15f5768d9ff0
Properly reset server timers and perf stats after level change

This prevents the server running "catchup" physics frames immediately
after level change (when sv_maxphysicsframesperserverframe > 1) and
makes accurate stats available almost immediately (all 0 before that).

Moves perf stats from persistent to temporary storage.

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