v0.3.0: adjusted how the game records version while saving.

This commit is contained in:
Evan Debenham 2015-05-16 20:38:43 -04:00
parent e770674ae7
commit 7d8ba7dd28

View File

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