equal
deleted
inserted
replaced
764 TimeLeftCounter = TimeLeftCounter + 1 |
764 TimeLeftCounter = TimeLeftCounter + 1 |
765 if TimeLeftCounter == 1000 then |
765 if TimeLeftCounter == 1000 then |
766 TimeLeftCounter = 0 |
766 TimeLeftCounter = 0 |
767 TimeLeft = TimeLeft - 1 |
767 TimeLeft = TimeLeft - 1 |
768 |
768 |
|
769 -- Countdown sounds |
|
770 if TimeLeft == 5 then |
|
771 PlaySound(sndHurry, CurrentHedgehog) |
|
772 elseif TimeLeft <= 4 and TimeLeft >= 1 then |
|
773 PlaySound(_G["sndCountdown"..TimeLeft]) |
|
774 end |
|
775 |
769 if TimeLeft >= 0 then |
776 if TimeLeft >= 0 then |
770 DrawTag(0) |
777 DrawTag(0) |
771 end |
778 end |
772 |
779 |
773 end |
780 end |