mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-30 12:32:55 +00:00
(UNTESTED) possibly fix meditation goof
This commit is contained in:
parent
1aae7b41dc
commit
48144a8214
@ -141,10 +141,15 @@ public class DeathPatches : QSBPatch
|
||||
Achievements.Earn(Achievements.Type.EARLY_ADOPTER);
|
||||
}
|
||||
|
||||
if (PlayerState.InDreamWorld() && deathType != DeathType.Dream && deathType != DeathType.DreamExplosion && deathType != DeathType.Supernova && deathType != DeathType.TimeLoop && deathType != DeathType.Meditation)
|
||||
if (PlayerState.InDreamWorld())
|
||||
{
|
||||
// exit dream world either way to prevent goof with respawn
|
||||
// TODO: test
|
||||
Locator.GetDreamWorldController().ExitDreamWorld(deathType);
|
||||
return;
|
||||
if (deathType != DeathType.Dream && deathType != DeathType.DreamExplosion && deathType != DeathType.Supernova && deathType != DeathType.TimeLoop && deathType != DeathType.Meditation)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (!@this._isDying)
|
||||
|
Loading…
x
Reference in New Issue
Block a user