V0.2.0b: Fixed a bug with loading saves
This commit is contained in:
parent
5878352dc8
commit
82d90b90f1
|
@ -497,6 +497,8 @@ public class Dungeon {
|
|||
public static void loadGame( String fileName, boolean fullLoad ) throws IOException {
|
||||
|
||||
Bundle bundle = gameBundle( fileName );
|
||||
|
||||
version = bundle.getInt( VERSION );
|
||||
|
||||
Dungeon.level = null;
|
||||
Dungeon.depth = -1;
|
||||
|
@ -558,8 +560,6 @@ public class Dungeon {
|
|||
quickslot = null;
|
||||
}
|
||||
|
||||
version = bundle.getInt( VERSION );
|
||||
|
||||
hero = null;
|
||||
hero = (Hero)bundle.get( HERO );
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user