diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Bones.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Bones.java index abd806725..57f98886d 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Bones.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Bones.java @@ -68,12 +68,13 @@ public class Bones { } item = pickItem(Dungeon.hero); + heroClass = Dungeon.hero.heroClass; Bundle bundle = new Bundle(); bundle.put( LEVEL, depth ); bundle.put( BRANCH, branch ); bundle.put( ITEM, item ); - bundle.put( HERO_CLASS, Dungeon.hero.heroClass ); + bundle.put( HERO_CLASS, heroClass ); try { FileUtils.bundleToFile( BONES_FILE, bundle );