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