diff -r a4d257f4b3e0 -r 89a6b862e692 share/hedgewars/Data/Missions/Training/Basic_Training_-_Bazooka.lua --- a/share/hedgewars/Data/Missions/Training/Basic_Training_-_Bazooka.lua Sun Mar 11 12:08:49 2018 +0100 +++ b/share/hedgewars/Data/Missions/Training/Basic_Training_-_Bazooka.lua Sun Mar 11 21:38:08 2018 +0100 @@ -199,19 +199,6 @@ end end -function onSetWeapon(ammoType) - if ammoType == amBazooka and not weaponSelected and gamePhase == 1 then - newGamePhase() - weaponSelected = true - end -end -function onSlot(msgParam) - if msgParam == 0 and not weaponSelected and gamePhase == 1 then - newGamePhase() - weaponSelected = true - end -end - function onHogAttack(ammoType) if ammoType == amBazooka then HideMission() @@ -278,6 +265,11 @@ PlaySound(sndMissed, hog) missedTauntTimer = -1 end + + if not weaponSelected and gamePhase == 1 and GetCurAmmoType() == amBazooka then + newGamePhase() + weaponSelected = true + end end function onAmmoStoreInit()