From 32190d3dc9786c24001a66dc8e2a07f41b6cc0a6 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 18 Jun 2018 15:15:29 +1000 Subject: [PATCH] If game is stopped, don't count accuracy --- qcsrc/server/weapons/accuracy.qc | 1 + 1 file changed, 1 insertion(+) diff --git a/qcsrc/server/weapons/accuracy.qc b/qcsrc/server/weapons/accuracy.qc index 2d553ba16..8cd7ab66c 100644 --- a/qcsrc/server/weapons/accuracy.qc +++ b/qcsrc/server/weapons/accuracy.qc @@ -94,6 +94,7 @@ bool accuracy_isgooddamage(entity attacker, entity targ) int mutator_check = MUTATOR_CALLHOOK(AccuracyTargetValid, attacker, targ); if (warmup_stage) return false; + if (game_stopped) return false; // damage to dead/frozen players is good only if it happens in the frame they get killed / frozen // so that stats for weapons that shoot multiple projectiles per shot are properly counted -- 2.39.2