share/hedgewars/Data/Scripts/Multiplayer/Balanced_Random_Weapon.lua
changeset 10044 33e64afccd3b
parent 10036 3be36d2fdca6
child 12207 2de020695c20
--- a/share/hedgewars/Data/Scripts/Multiplayer/Balanced_Random_Weapon.lua	Tue Jan 21 23:46:48 2014 +0100
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Balanced_Random_Weapon.lua	Tue Jan 21 23:53:26 2014 +0100
@@ -93,7 +93,8 @@
 end
 
 function onGameInit()
-    GameFlags = band(bor(GameFlags, gfResetWeps), bnot(gfPerHogAmmo))
+    DisableGameFlags(gfPerHogAmmo)
+    EnableGameFlags(gfResetWeps)
     Goals = loc("Each turn you get 1-3 random weapons")
 end