hedgewars/uGame.pas
changeset 10316 0f46fb0e0d5f
parent 10128 0f6878b5395a
child 10861 d84c725fe332
--- a/hedgewars/uGame.pas	Mon Jun 16 19:07:11 2014 +0200
+++ b/hedgewars/uGame.pas	Mon Jun 16 23:46:22 2014 +0200
@@ -64,6 +64,10 @@
         else if cOnlyStats then
             Lag:= High(LongInt)
     end;
+
+if cTestLua then
+    Lag:= High(LongInt);
+
 inc(SoundTimerTicks, Lag);
 if SoundTimerTicks >= 50 then
     begin