diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/Dungeon.java b/src/com/shatteredpixel/shatteredpixeldungeon/Dungeon.java index b1b9b3d77..9ce99750a 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/Dungeon.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/Dungeon.java @@ -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 );