share/hedgewars/Data/Scripts/Multiplayer/Battalion.lua
changeset 12812 59cb9bd8331c
parent 12628 96e30c42c318
child 12978 8d1bc1de9542
equal deleted inserted replaced
12811:de3cbbb09915 12812:59cb9bd8331c
  1417   CurTeam = getHogInfo(CurHog, 'team')
  1417   CurTeam = getHogInfo(CurHog, 'team')
  1418   TurnEnded = false
  1418   TurnEnded = false
  1419 
  1419 
  1420   if suddenDeath == true then
  1420   if suddenDeath == true then
  1421     onSuddenDeathTurn()
  1421     onSuddenDeathTurn()
  1422   else
  1422   elseif (TotalRounds + 1 >= 1) then
  1423     AddCaption(string.format(loc("Round %d (Sudden Death in round %d)"), (TotalRounds +1), (SuddenDeathTurns +2)), getHogInfo(CurHog, 'clanColor'),  capgrpGameState)
  1423     AddCaption(string.format(loc("Round %d (Sudden Death in round %d)"), (TotalRounds +1), (SuddenDeathTurns +2)), 0xFFFFFFFF,  capgrpGameState)
  1424   end
  1424   end
  1425 
  1425 
  1426   -- Generate new weapons for last hog if it's still alive
  1426   -- Generate new weapons for last hog if it's still alive
  1427   if LastHog ~= nil and LastHog ~= CurHog then
  1427   if LastHog ~= nil and LastHog ~= CurHog then
  1428     if mode == 'points' then
  1428     if mode == 'points' then