share/hedgewars/Data/Scripts/Multiplayer/Continental_supplies.lua
changeset 15967 f362e82cddcf
parent 15966 605697b8947a
child 15969 9128bb16aaf5
equal deleted inserted replaced
15966:605697b8947a 15967:f362e82cddcf
  1142 	end
  1142 	end
  1143 end
  1143 end
  1144 
  1144 
  1145 function onGameInit()
  1145 function onGameInit()
  1146 	SuddenDeathTurns= SuddenDeathTurns+1
  1146 	SuddenDeathTurns= SuddenDeathTurns+1
       
  1147 	-- Disable GameFlags that are incompatible with this game
       
  1148 	DisableGameFlags(gfKing, gfPlaceHog, gfPerHogAmmo, gfSharedAmmo, gfResetWeps)
  1147 end
  1149 end
  1148 
  1150 
  1149 function onEndTurn()
  1151 function onEndTurn()
  1150 	if(CS.TEAM_CONTINENT[GetHogTeamName(CurrentHedgehog)]==0)
  1152 	if(CS.TEAM_CONTINENT[GetHogTeamName(CurrentHedgehog)]==0)
  1151 	then
  1153 	then