hedgewars/uVariables.pas
changeset 15272 22f2fd8a3d2c
parent 15225 ceb289e8a582
child 15288 c4fd2813b127
child 15304 3bf780084c86
--- a/hedgewars/uVariables.pas	Thu Jul 25 16:29:14 2019 +0300
+++ b/hedgewars/uVariables.pas	Mon Jul 22 19:26:58 2019 +0200
@@ -280,6 +280,9 @@
     // whether Lua requested to pause the clock
     LuaClockPaused: boolean;
 
+    // whether /lua command was used
+    LuaCmdUsed: boolean;
+
     MaskedSounds : array[TSound] of boolean;
 
     LastVoice : TVoice;
@@ -3007,6 +3010,8 @@
     LuaEndTurnRequested:= false;
     LuaNoEndTurnTaunts:= false;
 
+    LuaCmdUsed:= false;
+
     for t:= Low(TSound) to High(TSound) do
         MaskedSounds[t]:= false;