From 538914864a1e54ac10fd4fbe2e2b54e6643f0f45 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 4 Oct 2023 14:07:17 -0400 Subject: [PATCH] v2.2.0: fixed cancelling non-anonymized scrolls spending time --- .../shatteredpixeldungeon/items/scrolls/InventoryScroll.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/scrolls/InventoryScroll.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/scrolls/InventoryScroll.java index 1dd165f0c..58a4aa028 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/scrolls/InventoryScroll.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/scrolls/InventoryScroll.java @@ -123,7 +123,7 @@ public abstract class InventoryScroll extends Scroll { ((InventoryScroll)curItem).confirmCancelation(); - } else { + } else if (((Scroll)curItem).anonymous) { curUser.spendAndNext( TIME_TO_READ );