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