diff -r 29abd3d5f9bb -r c46998ecd8fa hedgewars/uScript.pas --- a/hedgewars/uScript.pas Tue Sep 04 22:18:03 2018 +0200 +++ b/hedgewars/uScript.pas Tue Sep 04 22:59:08 2018 +0200 @@ -3736,13 +3736,13 @@ currentRTL:= ReadyTimeLeft; newTTL:= ScriptGetInteger('TurnTimeLeft'); newRTL:= ScriptGetInteger('ReadyTimeLeft'); -if currentTTL <> newTTL then +if (currentTTL <> newTTL) and (not isPendingTurnTimeLeft) then begin TurnTimeLeft:= newTTL; LuaWarning('Writing to TurnTimeLeft directly is deprecated! Use SetTurnTimeLeft instead!'); end; -if currentRTL <> newRTL then +if (currentRTL <> newRTL) and (not isPendingReadyTimeLeft) then begin ReadyTimeLeft:= newRTL; LuaWarning('Writing to ReadyTimeLeft directly is deprecated! Use SetReadyTimeLeft instead!');