--- a/share/hedgewars/Data/Scripts/TargetPractice.lua Tue Aug 07 01:47:49 2018 +0200
+++ b/share/hedgewars/Data/Scripts/TargetPractice.lua Tue Aug 07 01:52:40 2018 +0200
@@ -139,7 +139,13 @@
_G.onGameInit = function()
Seed = 1
ClearGameFlags()
- EnableGameFlags(gfDisableWind, gfMultiWeapon, gfOneClanMode, solid, artillery)
+ local attackMode
+ if (params.ammoType == amBee) then
+ attackMode = gfInfAttack
+ else
+ attackMode = gfMultiWeapon
+ end
+ EnableGameFlags(gfDisableWind, attackMode, gfOneClanMode, solid, artillery)
TurnTime = params.time
Map = params.map
Theme = params.theme