share/hedgewars/Data/Scripts/Multiplayer/Construction_Mode.lua
changeset 11747 3182ee5be2b0
parent 11733 67049c8dedd1
child 11762 660599c04bd8
equal deleted inserted replaced
11746:329ab1a0a750 11747:3182ee5be2b0
  1534 	Explosives = 0
  1534 	Explosives = 0
  1535 	MinesNum = 0
  1535 	MinesNum = 0
  1536 
  1536 
  1537 	EnableGameFlags(gfInfAttack)
  1537 	EnableGameFlags(gfInfAttack)
  1538 
  1538 
  1539 	fortMode = GetGameFlag(gfForts)
  1539 	fortMode = (MapGen == mgForts) or GetGameFlag(gfForts)
  1540 
  1540 
  1541 	-- if there are forts, let engine place the hogs on them
  1541 	-- if there are forts, let engine place the hogs on them
  1542 	if fortMode then
  1542 	if fortMode then
  1543 		EnableGameFlags(gfDivideTeams)
  1543 		EnableGameFlags(gfDivideTeams)
  1544 	end
  1544 	end