lock weapons since script doesn't support custom sets anyway (yet). Use bor on flags to allow other game flags.
authornemo
Fri, 08 Mar 2013 08:17:11 -0500
changeset 8692 935960dbc60e
parent 8691 a59b35e3ad8f
child 8693 ab42f868b1c3
lock weapons since script doesn't support custom sets anyway (yet). Use bor on flags to allow other game flags.
share/hedgewars/Data/Scripts/Multiplayer/Highlander.cfg
share/hedgewars/Data/Scripts/Multiplayer/Highlander.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/Highlander.cfg	Fri Mar 08 08:07:30 2013 -0500
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Highlander.cfg	Fri Mar 08 08:17:11 2013 -0500
@@ -1,2 +1,2 @@
 Default
-Default
+locked
--- a/share/hedgewars/Data/Scripts/Multiplayer/Highlander.lua	Fri Mar 08 08:07:30 2013 -0500
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Highlander.lua	Fri Mar 08 08:17:11 2013 -0500
@@ -198,7 +198,7 @@
 end
 
 function onGameInit()
-	GameFlags = gfInfAttack + gfRandomOrder + gfPerHogAmmo
+	GameFlags = bor(GameFlags,gfInfAttack + gfRandomOrder + gfPerHogAmmo)
 	HealthCaseProb = 100
 end