Fixed cooldown end sounds being audible through the entire world
This commit is contained in:
1 parent
d6bd9c6053
commit
07bd5eea0d
1 file changed
+1
-1
@@ -1322,7 +1322,7 @@ namespace CalamityMod.CalPlayer
|
||||
{
|
||||
handler.OnCompleted();
|
||||
if (handler.EndSound != null && handler.ShouldPlayEndSound)
|
||||
SoundEngine.PlaySound(handler.EndSound.GetValueOrDefault());
|
||||
SoundEngine.PlaySound(handler.EndSound.GetValueOrDefault(), Player.Center);
|
||||
expiredCooldowns.Add(id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user