share/hedgewars/Data/Scripts/Multiplayer/Balanced_Random_Weapon.lua
changeset 10036 3be36d2fdca6
parent 8043 da083f8d95e6
child 12212 2de020695c20
--- a/share/hedgewars/Data/Scripts/Multiplayer/Balanced_Random_Weapon.lua	Tue Jan 21 15:56:52 2014 +0100
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Balanced_Random_Weapon.lua	Tue Jan 21 18:02:37 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