ASA moon02: Disable hog input after victory
authorWuzzy <Wuzzy2@mail.ru>
Thu, 14 Nov 2019 17:12:31 +0100
changeset 15526 266ff128a65a
parent 15525 ebc33ffb1cbd
child 15527 d94c42c174a1
ASA moon02: Disable hog input after victory Player could briefly move Crazy Runner when skipping final cutscene.
share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/moon02.lua
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/moon02.lua	Mon Nov 04 03:08:59 2019 +0100
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/moon02.lua	Thu Nov 14 17:12:31 2019 +0100
@@ -341,6 +341,7 @@
 end
 
 function win()
+	AnimSetInputMask(0)
 	SendStat(siGameResult, loc("Congratulations, you are the fastest!"))
 	-- siCustomAchievements were added earlier
 	SendStat(siPointType, "!TIME")