--- a/share/hedgewars/Data/Scripts/TargetPractice.lua Tue Dec 18 15:21:23 2018 +0100
+++ b/share/hedgewars/Data/Scripts/TargetPractice.lua Tue Dec 18 18:16:31 2018 +0100
@@ -244,6 +244,7 @@
spawnTarget()
else
if not game_lost then
+ SaveMissionVar("Won", "true")
AddCaption(loc("You have destroyed all targets!"), capcolDefault, capgrpGameState)
ShowMission(params.missionTitle, loc("Aiming practice"), loc("Congratulations! You have destroyed all targets within the time."), 0, 0)
PlaySound(sndVictory, player)