forked from akanyan/mu3-mods
fix: various fixes
This commit is contained in:
@ -22,7 +22,7 @@ class patch_PlayMusic: PlayMusic {
|
||||
}
|
||||
public override bool updateState(float deltaTime = -1f) {
|
||||
pauseTimer += deltaTime;
|
||||
if(Singleton<UIInput>.instance.getStateOn(UIInput.Key.Service)) {
|
||||
if(Singleton<UIInput>.instance.getStateOn(UIInput.Key.Service) && !Singleton<UIInput>.instance.getStateOn(UIInput.Key.Test)) {
|
||||
if((!Paused && pauseTimer >= PAUSE_CD) || (Paused && pauseTimer >= UNPAUSE_CD)) {
|
||||
Paused = !Paused;
|
||||
pgm.pause(Paused);
|
||||
|
Reference in New Issue
Block a user