From 8742f7a51fa5a41c3142a4ee69bd22459411af91 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Tue, 23 May 2017 19:21:17 -0400 Subject: [PATCH] v0.6.0: adjusted the cursed wand 'crash' effect to quit the game instead The reason behind this is that google now tracks crashes and ANRS as a measure of overall app stability. It seems silly to reduce the measured stability of shattered just due to a joke. This still gives the same effect, but with no stabiltiy impact. --- .../shatteredpixeldungeon/items/wands/CursedWand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/CursedWand.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/CursedWand.java index 35d66a31a..d748e5111 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/CursedWand.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/wands/CursedWand.java @@ -412,7 +412,7 @@ public class CursedWand { @Override protected void onSelect(int index) { - throw new RuntimeException("critical wand exception"); + Game.instance.finish(); } @Override