share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua
changeset 10044 33e64afccd3b
parent 10036 3be36d2fdca6
child 11881 34ede05e4d4f
equal deleted inserted replaced
10043:ca075f0f7cfb 10044:33e64afccd3b
   442 -- game methods
   442 -- game methods
   443 ------------------------
   443 ------------------------
   444 
   444 
   445 function onGameInit()
   445 function onGameInit()
   446 
   446 
   447 	GameFlags = band(bor(GameFlags, gfDivideTeams), bnot(gfKing + gfForts))
   447 	DisableGameFlags(gfKing, gfForts)
       
   448 	EnableGameFlags(gfDivideTeams)
       
   449 
   448 	--SuddenDeathTurns = 999 -- suddendeath is off, effectively
   450 	--SuddenDeathTurns = 999 -- suddendeath is off, effectively
   449 	WaterRise = 0
   451 	WaterRise = 0
   450 	Delay = 10
   452 	Delay = 10
   451 
   453 
   452 end
   454 end