From 02e2118f3c033432495ccc20e2ec7cf7d1d40ac3 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Tue, 29 Mar 2022 16:22:41 -0400 Subject: [PATCH] v1.2.1: fixed very rare cases of rose thinking a dead ghost is summoned --- .../shatteredpixeldungeon/items/artifacts/DriedRose.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/DriedRose.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/DriedRose.java index e4820dc39..31a834998 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/DriedRose.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/DriedRose.java @@ -368,6 +368,10 @@ public class DriedRose extends Artifact { ghostID = 0; } } + + if (ghost != null && !ghost.isAlive()){ + ghost = null; + } //rose does not charge while ghost hero is alive if (ghost != null){