mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-15 22:50:56 +00:00
this shit causes a crash lol
This commit is contained in:
parent
d14aa4da91
commit
67d2b5df82
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user