v2.3.0: fixed remains not correctly storing hero class
This commit is contained in:
@@ -68,12 +68,13 @@ public class Bones {
|
|||||||
}
|
}
|
||||||
|
|
||||||
item = pickItem(Dungeon.hero);
|
item = pickItem(Dungeon.hero);
|
||||||
|
heroClass = Dungeon.hero.heroClass;
|
||||||
|
|
||||||
Bundle bundle = new Bundle();
|
Bundle bundle = new Bundle();
|
||||||
bundle.put( LEVEL, depth );
|
bundle.put( LEVEL, depth );
|
||||||
bundle.put( BRANCH, branch );
|
bundle.put( BRANCH, branch );
|
||||||
bundle.put( ITEM, item );
|
bundle.put( ITEM, item );
|
||||||
bundle.put( HERO_CLASS, Dungeon.hero.heroClass );
|
bundle.put( HERO_CLASS, heroClass );
|
||||||
|
|
||||||
try {
|
try {
|
||||||
FileUtils.bundleToFile( BONES_FILE, bundle );
|
FileUtils.bundleToFile( BONES_FILE, bundle );
|
||||||
|
|||||||
Reference in New Issue
Block a user