hedgewars/uScript.pas
changeset 12576 1fb961480b3c
parent 12536 e54039ea3934
child 12596 c9711561f947
--- a/hedgewars/uScript.pas	Thu Sep 28 17:26:54 2017 +0200
+++ b/hedgewars/uScript.pas	Thu Sep 28 18:36:24 2017 +0200
@@ -3160,6 +3160,7 @@
 procedure SetGlobals;
 begin
 ScriptSetInteger('TurnTimeLeft', TurnTimeLeft);
+ScriptSetInteger('ReadyTimeLeft', ReadyTimeLeft);
 ScriptSetInteger('GameTime', GameTicks);
 ScriptSetInteger('TotalRounds', TotalRounds);
 ScriptSetInteger('WaterLine', cWaterLine);
@@ -3206,6 +3207,7 @@
 // It is inconsistent anyway to have some globals be read-only and others not with no indication whatsoever.
 // -- sheepluva
 TurnTimeLeft:= ScriptGetInteger('TurnTimeLeft');
+ReadyTimeLeft:= ScriptGetInteger('ReadyTimeLeft');
 end;
 
 procedure ScriptCall(fname : shortstring);