add eye check again

This commit is contained in:
JohnCorby 2023-01-20 13:57:30 -08:00
parent 09e86e43a7
commit 548d12f1b6

View File

@ -66,6 +66,12 @@ public class DeathPatches : QSBPatch
[HarmonyPatch(typeof(DeathManager), nameof(DeathManager.FinishDeathSequence))]
public static bool DeathManager_FinishDeathSequence(DeathManager __instance)
{
// funny moment for eye
if (QSBSceneManager.CurrentScene != OWScene.SolarSystem)
{
return true;
}
if (!__instance._isDead)
{
if (__instance.CheckShouldWakeInDreamWorld())