share/hedgewars/Data/Scripts/Multiplayer/Construction_Mode.lua
changeset 11881 34ede05e4d4f
parent 11762 660599c04bd8
child 11942 abdb24f0c2d9
equal deleted inserted replaced
11880:2eac7a96b342 11881:34ede05e4d4f
  1540 	Explosives = 0
  1540 	Explosives = 0
  1541 	MinesNum = 0
  1541 	MinesNum = 0
  1542 
  1542 
  1543 	EnableGameFlags(gfInfAttack)
  1543 	EnableGameFlags(gfInfAttack)
  1544 
  1544 
  1545 	fortMode = (MapGen == mgForts) or GetGameFlag(gfForts)
  1545 	fortMode = MapGen == mgForts
  1546 
  1546 
  1547 	-- if there are forts, let engine place the hogs on them
  1547 	-- if there are forts, let engine place the hogs on them
  1548 	if fortMode then
  1548 	if fortMode then
  1549 		EnableGameFlags(gfDivideTeams)
  1549 		EnableGameFlags(gfDivideTeams)
  1550 	end
  1550 	end