share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert02.lua
changeset 12469 2041d1e98ab2
parent 12227 5afbffc6725d
child 12514 d89dabfd07ce
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert02.lua	Thu Sep 21 04:58:37 2017 +0200
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert02.lua	Thu Sep 21 05:11:01 2017 +0200
@@ -83,6 +83,11 @@
 	AnimationSetup()
 end
 
+function onAmmoStoreInit()
+	SetAmmo(amRope, 9, 0, 0, 0)
+	SetAmmo(amSkip, 9, 0, 0, 0)
+end
+
 function onGameStart()
 	AnimWait(hero.gear, 3000)
 	FollowGear(hero.gear)
@@ -93,8 +98,6 @@
 	SpawnHealthCrate(healthX, health1Y)
 	SpawnHealthCrate(healthX, health2Y)
 
-	AddAmmo(hero.gear, amRope, 100)
-
 	SendHealthStatsOff()
 	AddAnim(dialog01)
 end