hedgewars/uVariables.pas
changeset 12286 b4dde7035fe2
parent 12282 c0ace4bf45fa
child 12306 cdd884397760
--- a/hedgewars/uVariables.pas	Wed Apr 19 08:35:31 2017 -0400
+++ b/hedgewars/uVariables.pas	Wed Apr 19 17:50:31 2017 +0200
@@ -245,6 +245,10 @@
 
     LuaTemplateNumber : LongWord;
 
+    // for EndTurn Lua call
+    LuaEndTurnRequested: boolean;
+    LuaNoEndTurnTaunts: boolean;
+
     LastVoice : TVoice;
 
     mobileRecord: TMobileRecord;
@@ -2834,6 +2838,9 @@
 
     LuaTemplateNumber:= 0;
 
+    LuaEndTurnRequested:= false;
+    LuaNoEndTurnTaunts:= false;
+
     UIDisplay:= uiAll;
     LocalMessage:= 0;