hedgewars/uWorld.pas
changeset 4225 ce9e2b05e9c1
parent 4211 7dcbd236ca59
child 4248 e127b3d26248
--- a/hedgewars/uWorld.pas	Mon Nov 08 22:11:46 2010 -0500
+++ b/hedgewars/uWorld.pas	Mon Nov 08 22:26:44 2010 -0500
@@ -149,14 +149,14 @@
 ScreenFadeSpeed:= 1;
 
 // modified mine timers?
-if cMinesTime <> 3 then
+if cMinesTime <> 3000 then
     begin
     if cMinesTime = 0 then
         g:= AddGoal(g, gfAny, gidNoMineTimer)
     else if cMinesTime < 0 then
         g:= AddGoal(g, gfAny, gidRandomMineTimer)
     else
-        g:= AddGoal(g, gfAny, gidMineTimer, cMinesTime);
+        g:= AddGoal(g, gfAny, gidMineTimer, cMinesTime div 1000);
     end;
 
 // if the string has been set, show it for (default timeframe) seconds