share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/backstab.lua
changeset 13172 159004144897
parent 13145 5083fb0a2992
child 13354 f9a15dcd857c
--- a/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/backstab.lua	Mon Mar 12 12:37:35 2018 +0100
+++ b/share/hedgewars/Data/Missions/Campaign/A_Classic_Fairytale/backstab.lua	Mon Mar 12 12:54:33 2018 +0100
@@ -1168,8 +1168,8 @@
   end
 end
 
-function onHogAttack(ammoType)
-  if stage == spyKillStage and ammoType == amSkip then
+function onSkipTurn()
+  if stage == spyKillStage then
     highJumped = true
   end
 end