fix sponge not properly playing break sound
This commit is contained in:
1 parent
386cba3028
commit
e67a229045
1 file changed
+1
-1
@@ -5965,7 +5965,7 @@ namespace CalamityMod.CalPlayer
|
||||
if (SpongeShieldDurability <= 0)
|
||||
{
|
||||
SpongeShieldDurability = 0;
|
||||
SoundEngine.PlaySound(TheSponge.ShieldHurtSound, Player.Center);
|
||||
SoundEngine.PlaySound(TheSponge.BreakSound, Player.Center);
|
||||
Player.Calamity().GeneralScreenShakePower += anyShieldBroke ? 0.5f : 2f;
|
||||
anyShieldBroke = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user