From 7a960907b1bad49bbb1cda9c0ad0c0f156da1164 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 22 Jul 2016 01:52:00 -0400 Subject: [PATCH] v0.4.1: fixed various bugs involving new rankings code --- src/com/shatteredpixel/shatteredpixeldungeon/Rankings.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/Rankings.java b/src/com/shatteredpixel/shatteredpixeldungeon/Rankings.java index d70578ca4..60c12dcae 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/Rankings.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/Rankings.java @@ -35,6 +35,7 @@ import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.King; import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Tengu; import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Yog; import com.shatteredpixel.shatteredpixeldungeon.items.Amulet; +import com.shatteredpixel.shatteredpixeldungeon.items.Generator; import com.shatteredpixel.shatteredpixeldungeon.items.Item; import com.shatteredpixel.shatteredpixeldungeon.items.bags.Bag; import com.shatteredpixel.shatteredpixeldungeon.items.potions.Potion; @@ -171,6 +172,8 @@ public enum Rankings { Bundle data = rec.gameData; Dungeon.hero = null; + Dungeon.level = null; + Generator.reset(); Dungeon.quickslot.reset(); Bundle handler = data.getBundle(HANDLERS);