share/hedgewars/Data/Scripts/Multiplayer/Continental_supplies.lua
changeset 15152 35f6213ba1fa
parent 15136 309aa93df110
child 15153 276bdf531ae0
equal deleted inserted replaced
15151:9d0dc3be6307 15152:35f6213ba1fa
  1669 		if(CurrentHedgehog and CS.TEAM_CONTINENT[GetHogTeamName(CurrentHedgehog)]==0)
  1669 		if(CurrentHedgehog and CS.TEAM_CONTINENT[GetHogTeamName(CurrentHedgehog)]==0)
  1670 		then
  1670 		then
  1671 			CS.TEAM_CONTINENT[GetHogTeamName(CurrentHedgehog)]=GetRandom(#CS.CONTINENT_INFORMATION)+1
  1671 			CS.TEAM_CONTINENT[GetHogTeamName(CurrentHedgehog)]=GetRandom(#CS.CONTINENT_INFORMATION)+1
  1672 			SetContinentWeapons()
  1672 			SetContinentWeapons()
  1673 			HideMission()
  1673 			HideMission()
  1674 			ShowContinentLabel(0)
  1674 			ShowContinentLabel()
  1675 		else
  1675 		else
  1676 			ShowContinentLabel()
  1676 			ShowContinentLabel()
  1677 		end
  1677 		end
  1678 		CS.CONFIRM_CONTINENT_SELECTION = -1
  1678 		CS.CONFIRM_CONTINENT_SELECTION = -1
  1679 	end
  1679 	end