Remove files and SD config also when app version is older

This commit is contained in:
pelya
2012-11-30 22:35:49 +02:00
parent 02d50c9dce
commit 646303f7b8

View File

@@ -300,7 +300,7 @@ class Settings
Globals.TouchscreenKeyboardDrawSize = settingsFile.readInt();
int cfgVersion = settingsFile.readInt();
System.out.println("libSDL: old cfg version " + cfgVersion + ", our version " + p.getApplicationVersion());
if( cfgVersion < p.getApplicationVersion() )
if( cfgVersion != p.getApplicationVersion() )
{
DeleteFilesOnUpgrade();
if( Globals.ResetSdlConfigForThisVersion )