v0.4.1: fixed various bugs involving new rankings code

This commit is contained in:
Evan Debenham 2016-07-22 01:52:00 -04:00 committed by Evan Debenham
parent 12443776a5
commit 7a960907b1

View File

@ -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);