v3.0.2: fixed awareness persisting between floors with high speed

This commit is contained in:
Evan Debenham
2025-03-20 13:53:17 -04:00
parent c4da09e8fc
commit 51168138c8

View File

@@ -591,6 +591,9 @@ public abstract class Level implements Bundlable {
if (foodImmune != null) foodImmune.detach();
ScrollOfChallenge.ChallengeArena arena = Dungeon.hero.buff(ScrollOfChallenge.ChallengeArena.class);
if (arena != null) arena.detach();
//awareness also doesn't, honestly it's weird that it's a buff
Awareness awareness = Dungeon.hero.buff(Awareness.class);
if (awareness != null) awareness.detach();
Char ally = Stasis.getStasisAlly();
if (Char.hasProp(ally, Char.Property.IMMOVABLE)){