v0.7.4a: fixed a rankings crash involving the dried rose
This commit is contained in:
parent
56746de335
commit
ccfeee504c
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user