v0.7.4a: fixed a rankings crash involving the dried rose

This commit is contained in:
Evan Debenham 2019-07-24 18:20:24 -04:00
parent 56746de335
commit ccfeee504c

View File

@ -21,6 +21,7 @@
package com.shatteredpixel.shatteredpixeldungeon;
import com.shatteredpixel.shatteredpixeldungeon.actors.Actor;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Belongings;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.HeroClass;
@ -161,6 +162,7 @@ public enum Rankings {
public void loadGameData(Record rec){
Bundle data = rec.gameData;
Actor.clear();
Dungeon.hero = null;
Dungeon.level = null;
Generator.reset();