File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
packages/isaacscript-common/src/classes/features/other Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 33 CollectibleType ,
44 InputHook ,
55 ModCallback ,
6+ SoundEffect ,
67} from "isaac-typescript-definitions" ;
8+ import { sfxManager } from "../../../core/cachedClasses" ;
79import { VectorZero } from "../../../core/constants" ;
810import { Exported } from "../../../decorators" ;
911import {
@@ -73,6 +75,10 @@ export class Pause extends Feature {
7375 const firstPlayer = Isaac . GetPlayer ( ) ;
7476 useActiveItemTemp ( firstPlayer , CollectibleType . PAUSE ) ;
7577
78+ if ( isRepentancePlus ( ) ) {
79+ sfxManager . Stop ( SoundEffect . PAUSE_FREEZE ) ;
80+ }
81+
7682 this . stopTearsAndProjectilesFromMoving ( ) ;
7783 } ;
7884
@@ -178,6 +184,10 @@ export class Pause extends Feature {
178184 const firstPlayer = Isaac . GetPlayer ( ) ;
179185 useActiveItemTemp ( firstPlayer , CollectibleType . PAUSE ) ;
180186
187+ if ( isRepentancePlus ( ) ) {
188+ sfxManager . Stop ( SoundEffect . PAUSE_FREEZE ) ;
189+ }
190+
181191 const tstlClassName = getTSTLClassName ( this ) ;
182192 assertDefined (
183193 tstlClassName ,
You can’t perform that action at this time.
0 commit comments