diff --git a/packages/isaacscript-common/src/classes/features/other/Pause.ts b/packages/isaacscript-common/src/classes/features/other/Pause.ts index d76991c60..707fff42f 100644 --- a/packages/isaacscript-common/src/classes/features/other/Pause.ts +++ b/packages/isaacscript-common/src/classes/features/other/Pause.ts @@ -3,7 +3,9 @@ import { CollectibleType, InputHook, ModCallback, + SoundEffect, } from "isaac-typescript-definitions"; +import { sfxManager } from "../../../core/cachedClasses"; import { VectorZero } from "../../../core/constants"; import { Exported } from "../../../decorators"; import { @@ -73,6 +75,10 @@ export class Pause extends Feature { const firstPlayer = Isaac.GetPlayer(); useActiveItemTemp(firstPlayer, CollectibleType.PAUSE); + if (isRepentancePlus()) { + sfxManager.Stop(SoundEffect.PAUSE_FREEZE); + } + this.stopTearsAndProjectilesFromMoving(); }; @@ -178,6 +184,10 @@ export class Pause extends Feature { const firstPlayer = Isaac.GetPlayer(); useActiveItemTemp(firstPlayer, CollectibleType.PAUSE); + if (isRepentancePlus()) { + sfxManager.Stop(SoundEffect.PAUSE_FREEZE); + } + const tstlClassName = getTSTLClassName(this); assertDefined( tstlClassName,