v2.3.0: fixed remains not correctly storing hero class

This commit is contained in:
Evan Debenham
2023-12-15 13:03:46 -05:00
parent 2943604385
commit 9515ad729c

View File

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