# HG changeset patch
# User Wuzzy <Wuzzy2@mail.ru>
# Date 1517894617 -3600
# Node ID c851be2c04944ab289668635be41ad1b29681946
# Parent  9e7c1d5eec730844c569f7eab89b97b020cbd307
Show # of turns left in the 12-turn parcour segment of ACF3

diff -r 9e7c1d5eec73 -r c851be2c0494 share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/journey.lua
--- a/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/journey.lua	Tue Feb 06 05:54:34 2018 +0100
+++ b/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/journey.lua	Tue Feb 06 06:23:37 2018 +0100
@@ -1191,6 +1191,9 @@
   else
     SetInputMask(0xFFFFFFFF)
     TurnsLeft = TurnsLeft - 1
+    if TurnsLeft >= 1 then
+      AddCaption(string.format(loc("Turns left: %d"), TurnsLeft), 0xFFFFFFFF, capgrpGameState)
+    end
   end
 end