Render rubber duck timer when <6s
authorWuzzy <almikes@aol.com>
Thu, 12 May 2016 17:23:06 +0200
changeset 12198 f770c8029f7c
parent 12197 98824a464230
child 12199 f7c295971143
Render rubber duck timer when <6s
hedgewars/uGearsHandlersMess.pas
--- a/hedgewars/uGearsHandlersMess.pas	Thu May 12 16:56:23 2016 +0200
+++ b/hedgewars/uGearsHandlersMess.pas	Thu May 12 17:23:06 2016 +0200
@@ -6434,6 +6434,12 @@
         exit;
         end;
 
+    // Update timer stuff
+    if Gear^.Timer < 6000 then
+        Gear^.RenderTimer:= true
+    else
+        Gear^.RenderTimer:= false;
+
     dec(Gear^.Timer);
 end;