mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 12:08:52 +00:00
prevent meditation softlock
This commit is contained in:
parent
dcc51c3da6
commit
42408a6377
@ -36,6 +36,11 @@ internal class TimePatches : QSBPatch
|
||||
is OWTime.PauseType.Initializing
|
||||
or OWTime.PauseType.Streaming
|
||||
or OWTime.PauseType.Loading;
|
||||
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch(typeof(SubmitActionSkipToNextLoop), nameof(SubmitActionSkipToNextLoop.AdvanceToNewTimeLoop))]
|
||||
public static void PreventMeditationSoftlock()
|
||||
=> OWInput.ChangeInputMode(InputMode.Character);
|
||||
}
|
||||
|
||||
internal class ClientTimePatches : QSBPatch
|
||||
|
Loading…
Reference in New Issue
Block a user