mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-24 14:49:23 +07:00
Save compatibility handling (#7255)
* Add serialization version to GameInfo * Add handling of incompatible saves due to a dfiferent save version * Fix compilation? * Fix ios compilation * Refactor: Make it clearer that GameInfo serialization version is only supposed to be incremented when it's guaranteed to cause issues & rename to compatibility version * Update initial version * Update initial version * Fix merge mistake
This commit is contained in:
@ -10,7 +10,7 @@ class IOSLauncher extends IOSApplication.Delegate {
|
||||
@Override
|
||||
protected IOSApplication createApplication() {
|
||||
IOSApplicationConfiguration config = new IOSApplicationConfiguration();
|
||||
return new IOSApplication(new com.unciv.UncivGame("IOS"), config);
|
||||
return new IOSApplication(new com.unciv.UncivGame(), config);
|
||||
}
|
||||
|
||||
public static void main(String[] argv) {
|
||||
@ -18,4 +18,4 @@ class IOSLauncher extends IOSApplication.Delegate {
|
||||
UIApplication.main(argv, null, IOSLauncher.class);
|
||||
pool.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user