Fixed cooldown end sounds being audible through the entire world

This commit is contained in:
CongratsIsTrash committed 2025-10-26 21:23:34 -04:00
1 parent d6bd9c6053
commit 07bd5eea0d
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}
}