hedgewars/uTeams.pas
changeset 13811 3fa9e30927f1
parent 13797 c084bd440009
child 13831 5c6052351991
--- a/hedgewars/uTeams.pas	Wed Sep 12 19:51:45 2018 +0300
+++ b/hedgewars/uTeams.pas	Sat Sep 15 15:26:23 2018 +0200
@@ -76,11 +76,13 @@
 TurnTimeLeft:= 0;
 ReadyTimeLeft:= 0;
 
-// if the game ends during a multishot, do last TurnStats + TurnReaction
-if (not bBetweenTurns) and isInMultiShoot then
+// If the game ends during a multishot, or after the Sudden Death
+// water has risen, do last turn stats / reaction.
+if ((not bBetweenTurns) and isInMultiShoot) or (bDuringWaterRise) then
     begin
     TurnStats();
-    TurnReaction();
+    if (not bDuringWaterRise) then
+        TurnReaction();
     TurnStatsReset();
     end;