hedgewars/uGearsHedgehog.pas
changeset 13663 91d48cbae927
parent 13642 3d14950641a4
child 13674 3f6fae745f84
--- a/hedgewars/uGearsHedgehog.pas	Tue Aug 14 09:26:32 2018 +0200
+++ b/hedgewars/uGearsHedgehog.pas	Tue Aug 14 13:43:04 2018 +0200
@@ -469,7 +469,10 @@
                                  end;
                     amExtraTime: begin
                                  PlaySound(sndExtraTime);
-                                 TurnTimeLeft:= TurnTimeLeft + 30000
+                                 if TurnTimeLeft <= (cMaxTurnTime - ExtraTime) then
+                                     TurnTimeLeft:= TurnTimeLeft + ExtraTime
+                                 else
+                                     TurnTimeLeft:= cMaxTurnTime;
                                  end;
                    amLaserSight: begin
                                  PlaySound(sndLaserSight);