share/hedgewars/Data/Scripts/Multiplayer/Continental_supplies.lua
changeset 15159 13a69aad9325
parent 15158 276bdf531ae0
equal deleted inserted replaced
15158:276bdf531ae0 15159:13a69aad9325
  1641 		AddCaption(CS.CONTINENT_INFORMATION[CS.TEAM_CONTINENT[GetHogTeamName(CurrentHedgehog)]][1], GetClanColor(GetHogClan(CurrentHedgehog)), capgrpAmmoinfo)
  1641 		AddCaption(CS.CONTINENT_INFORMATION[CS.TEAM_CONTINENT[GetHogTeamName(CurrentHedgehog)]][1], GetClanColor(GetHogClan(CurrentHedgehog)), capgrpAmmoinfo)
  1642 	end
  1642 	end
  1643 end
  1643 end
  1644 
  1644 
  1645 function SetContinentTeamLabel()
  1645 function SetContinentTeamLabel()
  1646 	SetTeamLabel(GetHogTeamName(CurrentHedgehog), CS.CONTINENT_INFORMATION[CS.TEAM_CONTINENT[GetHogTeamName(CurrentHedgehog)]][1])
  1646 	if not CS.GAME_STARTED then
       
  1647 		SetTeamLabel(GetHogTeamName(CurrentHedgehog), CS.CONTINENT_INFORMATION[CS.TEAM_CONTINENT[GetHogTeamName(CurrentHedgehog)]][1])
       
  1648 	end
  1647 end
  1649 end
  1648 
  1650 
  1649 function onGameTick()
  1651 function onGameTick()
  1650 	-- This is a trick to show the continent label delayed by 1 tick
  1652 	-- This is a trick to show the continent label delayed by 1 tick
  1651 	if CS.CONTINENT_LABEL_TIMER > 0 then
  1653 	if CS.CONTINENT_LABEL_TIMER > 0 then