hedgewars/uGears.pas
changeset 14762 16168aff08c7
parent 14760 21abb4e4ca9f
child 14764 c6b7f4a4122c
--- a/hedgewars/uGears.pas	Sun Apr 07 22:48:34 2019 +0200
+++ b/hedgewars/uGears.pas	Sun Apr 07 22:57:58 2019 +0200
@@ -278,6 +278,7 @@
                 begin
                 // Mine timer
                 if (curHandledGear^.Kind in [gtMine, gtSMine, gtAirMine]) then
+                    begin
                     if curHandledGear^.Tex = nil then
                         if (curHandledGear^.Karma = 1) and (not (GameType in [gmtDemo, gmtRecord])) then
                             // Secret mine timer
@@ -292,6 +293,7 @@
                             else
                                 curHandledGear^.Tex:= RenderStringTex(ansistring(inttostr(i) + FormatSettings.DecimalSeparator + inttostr(j)), $ff808080, fntSmall);
                             end
+                    end
                 // Timer of other gears
                 else if ((curHandledGear^.Timer > 500) and ((curHandledGear^.Timer mod 1000) = 0)) then
                     begin