mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-06 01:00:16 +00:00
Merge branch 'master' into dev
This commit is contained in:
commit
2f52ab9cae
@ -126,7 +126,7 @@ namespace QSB.Menus
|
||||
{
|
||||
OneButtonInfoPopup.SetUpPopup(message, InputLibrary.menuConfirm, InputLibrary.cancel, new ScreenPrompt(okButtonText), null, true, false);
|
||||
|
||||
OWTime.Pause(OWTime.PauseType.System);
|
||||
OWTime.Pause(OWTime.PauseType.Menu);
|
||||
OWInput.ChangeInputMode(InputMode.Menu);
|
||||
|
||||
var pauseCommandListener = Locator.GetPauseCommandListener();
|
||||
@ -143,7 +143,7 @@ namespace QSB.Menus
|
||||
{
|
||||
TwoButtonInfoPopup.SetUpPopup(message, InputLibrary.menuConfirm, InputLibrary.cancel, new ScreenPrompt(okButtonText), new ScreenPrompt(cancelButtonText), true, true);
|
||||
|
||||
OWTime.Pause(OWTime.PauseType.System);
|
||||
OWTime.Pause(OWTime.PauseType.Menu);
|
||||
OWInput.ChangeInputMode(InputMode.Menu);
|
||||
|
||||
var pauseCommandListener = Locator.GetPauseCommandListener();
|
||||
@ -165,7 +165,7 @@ namespace QSB.Menus
|
||||
_addedPauseLock = false;
|
||||
}
|
||||
|
||||
OWTime.Unpause(OWTime.PauseType.System);
|
||||
OWTime.Unpause(OWTime.PauseType.Menu);
|
||||
OWInput.RestorePreviousInputs();
|
||||
|
||||
PopupOK?.SafeInvoke();
|
||||
|
@ -16,6 +16,7 @@ namespace QSB.TimeSync.Patches
|
||||
DebugLog.DebugWrite($"OnStartOfTimeLoop");
|
||||
return false;
|
||||
}
|
||||
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(typeof(OWTime), nameof(OWTime.Pause))]
|
||||
public static bool StopPausing(OWTime.PauseType pauseType)
|
||||
|
Loading…
Reference in New Issue
Block a user