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