From 0ab2cf3cc34e2670f13681e489b20b28823d598e Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 20 Dec 2020 21:21:25 -0500 Subject: [PATCH] v0.9.1b: fixed 'death from viscosity' badge not appearing in rankings --- .../shatteredpixeldungeon/items/armor/glyphs/Viscosity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/armor/glyphs/Viscosity.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/armor/glyphs/Viscosity.java index 57253904b..162c77c99 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/armor/glyphs/Viscosity.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/armor/glyphs/Viscosity.java @@ -134,10 +134,10 @@ public class Viscosity extends Glyph { target.damage( damageThisTick, this ); if (target == Dungeon.hero && !target.isAlive()) { + Badges.validateDeathFromGlyph(); + Dungeon.fail( getClass() ); GLog.n( Messages.get(this, "ondeath") ); - - Badges.validateDeathFromGlyph(); } spend( TICK );