share/hedgewars/Data/Scripts/Multiplayer/Tumbler.lua
changeset 12053 281a4f33b08f
parent 12052 144264948277
child 12062 3d03e9294633
--- a/share/hedgewars/Data/Scripts/Multiplayer/Tumbler.lua	Thu Nov 24 00:50:40 2016 +0100
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Tumbler.lua	Thu Nov 24 01:04:55 2016 +0100
@@ -766,6 +766,13 @@
 			TimeLeftCounter = 0
 			TimeLeft = TimeLeft - 1
 
+			-- Countdown sounds
+			if TimeLeft == 5 then
+				PlaySound(sndHurry, CurrentHedgehog)
+			elseif TimeLeft <= 4 and TimeLeft >= 1 then
+				PlaySound(_G["sndCountdown"..TimeLeft])
+			end
+
 			if TimeLeft >= 0 then
 				DrawTag(0)
 			end