share/hedgewars/Data/Missions/Challenge/Basic_Training_-_Sniper_Rifle.lua
changeset 12913 20e627c1ac20
parent 12731 2b0a4a4b1ba2
child 13065 a297e06d1607
--- a/share/hedgewars/Data/Missions/Challenge/Basic_Training_-_Sniper_Rifle.lua	Wed Feb 07 03:50:38 2018 +0100
+++ b/share/hedgewars/Data/Missions/Challenge/Basic_Training_-_Sniper_Rifle.lua	Wed Feb 07 03:56:53 2018 +0100
@@ -381,8 +381,9 @@
 			PlaySound(sndVictory, CurrentHedgehog)
 			FollowGear(CurrentHedgehog)
 
-			-- Disable hog controls
+			-- Unselect sniper rifle and disable hog controls
 			SetInputMask(0)
+			SetWeapon(amNothing)
 			AddAmmo(CurrentHedgehog, amSniperRifle, 0)
 
 			-- Save the time left so we may keep it.