share/hedgewars/Data/Scripts/Multiplayer/Continental_supplies.lua
changeset 15136 309aa93df110
parent 14811 d65e25e211d4
child 15152 35f6213ba1fa
equal deleted inserted replaced
15135:7a8cc8bc963e 15136:309aa93df110
  1199 			SetCSAmmoDescriptions("continents")
  1199 			SetCSAmmoDescriptions("continents")
  1200 
  1200 
  1201 			InitWeaponsMenu(CurrentHedgehog)
  1201 			InitWeaponsMenu(CurrentHedgehog)
  1202 			CS.TEAM_CONTINENT[GetHogTeamName(CurrentHedgehog)]=0
  1202 			CS.TEAM_CONTINENT[GetHogTeamName(CurrentHedgehog)]=0
  1203 			CS.INIT_TEAMS[GetHogTeamName(CurrentHedgehog)] = 2
  1203 			CS.INIT_TEAMS[GetHogTeamName(CurrentHedgehog)] = 2
       
  1204 			if GetHogLevel(CurrentHedgehog) ~= 0 then
       
  1205 				-- Set random continent for bots
       
  1206 				SetWeapon(amNothing)
       
  1207 				CS.CONFIRM_CONTINENT_SELECTION=500
       
  1208 			end
  1204 
  1209 
  1205 		else
  1210 		else
  1206 			--if its not the initialization turn
  1211 			--if its not the initialization turn
  1207 			CS.SELECT_CONTINENT_CHECK=false
  1212 			CS.SELECT_CONTINENT_CHECK=false
  1208 			SetInputMask(bor(GetInputMask(), bnot(gmWeapon)))
  1213 			SetInputMask(bor(GetInputMask(), bnot(gmWeapon)))