mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-21 18:40:03 +00:00
add eye check again
This commit is contained in:
parent
09e86e43a7
commit
548d12f1b6
@ -66,6 +66,12 @@ public class DeathPatches : QSBPatch
|
|||||||
[HarmonyPatch(typeof(DeathManager), nameof(DeathManager.FinishDeathSequence))]
|
[HarmonyPatch(typeof(DeathManager), nameof(DeathManager.FinishDeathSequence))]
|
||||||
public static bool DeathManager_FinishDeathSequence(DeathManager __instance)
|
public static bool DeathManager_FinishDeathSequence(DeathManager __instance)
|
||||||
{
|
{
|
||||||
|
// funny moment for eye
|
||||||
|
if (QSBSceneManager.CurrentScene != OWScene.SolarSystem)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
if (!__instance._isDead)
|
if (!__instance._isDead)
|
||||||
{
|
{
|
||||||
if (__instance.CheckShouldWakeInDreamWorld())
|
if (__instance.CheckShouldWakeInDreamWorld())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user