Frenzy: Fix incorrect ammo slot numbers in ammo menu
authorWuzzy <Wuzzy2@mail.ru>
Sat, 08 Jun 2019 11:27:26 +0200
changeset 15153 378efa87f558
parent 15152 a77b0e339929
child 15154 73d8cc72239e
Frenzy: Fix incorrect ammo slot numbers in ammo menu
ChangeLog.txt
share/hedgewars/Data/Scripts/Multiplayer/Frenzy.lua
--- a/ChangeLog.txt	Sat Jun 08 11:25:39 2019 +0200
+++ b/ChangeLog.txt	Sat Jun 08 11:27:26 2019 +0200
@@ -48,6 +48,7 @@
  * King Mode: Kill resurrected minions if king is not alive
  * HedgeEditor: Fix major FPS drop when there are a lot of objects
  * Control: Fix score failure after using extra time
+ * Frenzy: Fix incorrect ammo slot numbers in ammo menu
 
 A Classic Fairytale:
  + Backstab: Disable utilities before traitor has been dealt with
--- a/share/hedgewars/Data/Scripts/Multiplayer/Frenzy.lua	Sat Jun 08 11:25:39 2019 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Frenzy.lua	Sat Jun 08 11:27:26 2019 +0200
@@ -66,6 +66,10 @@
 	--WaterRise = 47
 	--HealthDecrease = 0
 
+	for s=1, #frenzyAmmos do
+		SetAmmoSlot(frenzyAmmos[s], s)
+	end
+	SetAmmoSlot(amSkip, 10)
 end
 
 function onGameStart()