# HG changeset patch # User sheepluva # Date 1346754840 -7200 # Node ID 8212121cf6a1ab4a45ddb35682d81c8a5fb06d99 # Parent e556b44f5bd85c189400d4e9f8e740d87bff3cc9 fix multi-shot related game ends leading to incomplete stats, fixes issue 372 diff -r e556b44f5bd8 -r 8212121cf6a1 hedgewars/uGears.pas --- a/hedgewars/uGears.pas Tue Sep 04 12:25:55 2012 +0400 +++ b/hedgewars/uGears.pas Tue Sep 04 12:34:00 2012 +0200 @@ -284,7 +284,10 @@ end; stChWin: begin - CheckForWin; + if CheckForWin() then + // if the game ends during a multishot, do last TurnReaction + if (not bBetweenTurns) and isInMultiShoot then + TurnReaction(); inc(step) end; stWater: