share/hedgewars/Data/Scripts/Multiplayer/Balanced_Random_Weapon.lua
changeset 10036 3be36d2fdca6
parent 8043 da083f8d95e6
child 12212 2de020695c20
equal deleted inserted replaced
10035:ec523f66d0ff 10036:3be36d2fdca6
    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()