share/hedgewars/Data/Scripts/Multiplayer/Battalion.lua
changeset 15146 9e1e234a417c
parent 14790 dd4daa216398
child 15147 ab21cbb0e3a0
equal deleted inserted replaced
15145:824472aa4d97 15146:9e1e234a417c
  1745   if mode ~= 'points' then
  1745   if mode ~= 'points' then
  1746     EnableGameFlags(gfPerHogAmmo)
  1746     EnableGameFlags(gfPerHogAmmo)
  1747   else
  1747   else
  1748     DisableGameFlags(gfPerHogAmmo)
  1748     DisableGameFlags(gfPerHogAmmo)
  1749   end
  1749   end
  1750 end
  1750   if mode ~= 'points' and mode ~= 'highland' and mode ~= 'king' then
       
  1751     if GetGameFlag(gfKing) then
       
  1752       mode = 'king'
       
  1753       modeExplicit = true
       
  1754     end
       
  1755   end
       
  1756   DisableGameFlags(gfKing)
       
  1757 end