share/hedgewars/Data/Scripts/Multiplayer/Balanced_Random_Weapon.lua
changeset 10044 33e64afccd3b
parent 10036 3be36d2fdca6
child 12207 2de020695c20
equal deleted inserted replaced
10043:ca075f0f7cfb 10044:33e64afccd3b
    91 function reset(hog)
    91 function reset(hog)
    92     setTeamValue(GetHogTeamName(hog), "processed", false)
    92     setTeamValue(GetHogTeamName(hog), "processed", false)
    93 end
    93 end
    94 
    94 
    95 function onGameInit()
    95 function onGameInit()
    96     GameFlags = band(bor(GameFlags, gfResetWeps), bnot(gfPerHogAmmo))
    96     DisableGameFlags(gfPerHogAmmo)
       
    97     EnableGameFlags(gfResetWeps)
    97     Goals = loc("Each turn you get 1-3 random weapons")
    98     Goals = loc("Each turn you get 1-3 random weapons")
    98 end
    99 end
    99 
   100 
   100 function onGameStart()
   101 function onGameStart()
   101     trackTeams()
   102     trackTeams()