rtcwmp-com / rtcwPro

RtcwPro - Competition Mod for Return to Castle Wolfenstein
http://rtcwpro.com
GNU General Public License v3.0
26 stars 6 forks source link

Stats: harden the reset triggers #380

Closed donkz closed 2 years ago

donkz commented 2 years ago

Describe the bug There are still scenarios when stats do not nullify after a match is complete.

To Reproduce Steps to reproduce the behavior: 1.a Map restart 1.b Stay on the server when most people quit 1.c Map change 1.d Reconnect after round 1 is complete

Expected behavior Stats should reset for each player personally , or better yet, holistically for everyone when:

Additional context Stats not resetting is corrupting rtcwproapi stats. It can occur in a course of a whole night if the server calc is off for everyone. This also affects client stats damage/headshot/revives