Highlander: Fix crate collect sound playing when hog didn't get anything
authorWuzzy <almikes@aol.com>
Wed, 26 Apr 2017 18:53:11 +0200
changeset 12345 f706ca71aa86
parent 12344 ae699a0b054b
child 12346 c73521104fac
Highlander: Fix crate collect sound playing when hog didn't get anything
share/hedgewars/Data/Scripts/Multiplayer/Highlander.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/Highlander.lua	Wed Apr 26 18:38:21 2017 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Highlander.lua	Wed Apr 26 18:53:11 2017 +0200
@@ -261,8 +261,8 @@
 			end
 		end
 
-        PlaySound(sndShotgunReload);
         if dspl and ammolist ~= '' then
+            PlaySound(sndShotgunReload);
             AddCaption(ammolist, color, capgrpAmmoinfo)
         end
 	end