v0.3.0: adjusted how the game records version while saving.
This commit is contained in:
parent
e770674ae7
commit
7d8ba7dd28
|
@ -409,8 +409,9 @@ public class Dungeon {
|
|||
public static void saveGame( String fileName ) throws IOException {
|
||||
try {
|
||||
Bundle bundle = new Bundle();
|
||||
|
||||
bundle.put( VERSION, Game.versionCode );
|
||||
|
||||
version = Game.versionCode;
|
||||
bundle.put( VERSION, version );
|
||||
bundle.put( CHALLENGES, challenges );
|
||||
bundle.put( HERO, hero );
|
||||
bundle.put( GOLD, gold );
|
||||
|
|
Loading…
Reference in New Issue
Block a user