mu3-mods/Pause/MU3.Sound/patch_SoundPlayer.cs

15 lines
291 B
C#
Raw Normal View History

namespace MU3.Sound;
class patch_SoundPlayer: SoundPlayer {
private CriAtomExPlayer _player;
public extern void orig_stop();
public void pause(bool val) {
_player.Pause(val);
}
public new void stop() {
_player.Pause(false);
orig_stop();
}
}