private SoundSource SoundSourceOnPlay(On.Celeste.SoundSource.orig_Play orig, SoundSource self, string path, string param, float value) { if (Manager.FrameLoops >= 2) { path = ""; } return(orig(self, path, param, value)); }
private SoundSource SoundSourceOnPlay(On.Celeste.SoundSource.orig_Play orig, SoundSource self, string path, string param, float value) { if (shouldBeMute) { return(self); } return(orig(self, path, param, value)); }