share/hedgewars/Data/Missions/Challenge/Basic_Training_-_Sniper_Rifle.lua
changeset 14928 4c5fb1ee75b7
parent 14654 8bd005067f4a
--- a/share/hedgewars/Data/Missions/Challenge/Basic_Training_-_Sniper_Rifle.lua	Mon May 13 20:26:07 2019 +0200
+++ b/share/hedgewars/Data/Missions/Challenge/Basic_Training_-_Sniper_Rifle.lua	Mon May 13 21:23:25 2019 +0200
@@ -190,6 +190,9 @@
 			-- ... end the game ...
 			generateStats()
 			EndGame()
+			if score == score_goal then
+				SetState(CurrentHedgehog, gstWinner)
+			end
 		end
         	end_timer = end_timer - 20
 	end