From 67d2b5df82b925cb8f00dd515d175c81019793ab Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Fri, 18 Nov 2022 01:18:19 -0800 Subject: [PATCH] this shit causes a crash lol --- QSB/DeathSync/Patches/DeathPatches.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/QSB/DeathSync/Patches/DeathPatches.cs b/QSB/DeathSync/Patches/DeathPatches.cs index 70e63079..478e25d8 100644 --- a/QSB/DeathSync/Patches/DeathPatches.cs +++ b/QSB/DeathSync/Patches/DeathPatches.cs @@ -141,14 +141,10 @@ public class DeathPatches : QSBPatch Achievements.Earn(Achievements.Type.EARLY_ADOPTER); } - if (PlayerState.InDreamWorld()) + if (PlayerState.InDreamWorld() && deathType != DeathType.Dream && deathType != DeathType.DreamExplosion && deathType != DeathType.Supernova && deathType != DeathType.TimeLoop && deathType != DeathType.Meditation) { - // exit dream world either way to prevent goof with respawn Locator.GetDreamWorldController().ExitDreamWorld(deathType); - if (deathType != DeathType.Dream && deathType != DeathType.DreamExplosion && deathType != DeathType.Supernova && deathType != DeathType.TimeLoop && deathType != DeathType.Meditation) - { - return; - } + return; } if (!@this._isDying)