CTF: Play sound when capturing flag
authorWuzzy <almikes@aol.com>
Wed, 13 Apr 2016 04:51:17 +0200
changeset 11912 ce9e0f8e43f4
parent 11911 0e943402b94f
child 11913 a267482ad461
CTF: Play sound when capturing flag
share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua	Wed Apr 13 04:48:26 2016 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua	Wed Apr 13 04:51:17 2016 +0200
@@ -185,7 +185,7 @@
 		fCaptures[wtf] = fCaptures[wtf] +1
 		AddCaption(string.format(loc("%s has scored!"), GetHogName(CurrentHedgehog)))
 		showMissionAndScorebar()
-		PlaySound(sndVictory)
+		PlaySound(sndHomerun)
 		fThief[bbq] = nil -- player no longer has the enemy flag
 		CheckScore(wtf)