--- a/share/hedgewars/Data/Scripts/Multiplayer/Random_Weapon.lua Tue Jan 21 23:46:48 2014 +0100
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Random_Weapon.lua Tue Jan 21 23:53:26 2014 +0100
@@ -46,7 +46,8 @@
function onGameInit()
-- Limit flags that can be set, but allow game schemes to be used
- GameFlags = band(bor(GameFlags, gfResetWeps), bnot(gfInfAttack))
+ DisableGameFlags(gfInfAttack)
+ EnableGameFlags(gfResetWeps)
-- Set a custom game goal that will show together with the scheme ones
Goals = loc("Each turn you get one random weapon")
end