share/hedgewars/Data/Scripts/Multiplayer/Space_Invasion.lua
changeset 12057 1ee28630d424
parent 12056 b68ec446a111
child 12058 1ebda99fd34a
equal deleted inserted replaced
12056:b68ec446a111 12057:1ee28630d424
  1482 				DrawTag(0)
  1482 				DrawTag(0)
  1483 			end
  1483 			end
  1484 
  1484 
  1485 		end
  1485 		end
  1486 
  1486 
  1487 		if (TimeLeftCounter % 1000) == 0 and TimeLeft == 5 then
  1487 		if (TimeLeftCounter % 1000) == 0 then
  1488 			PlaySound(sndHurry, CurrentHedgehog)
  1488 			if TimeLeft == 5 then
       
  1489 				PlaySound(sndHurry, CurrentHedgehog)
       
  1490 			elseif TimeLeft <= 4 and TimeLeft >= 1 then
       
  1491 				PlaySound(_G["sndCountdown"..TimeLeft])
       
  1492 			end
  1489 		end
  1493 		end
  1490 
  1494 
  1491 		--WriteLnToConsole("Finished timeleft calculations")
  1495 		--WriteLnToConsole("Finished timeleft calculations")
  1492 
  1496 
  1493 		-------------------------------
  1497 		-------------------------------