CLOUD: Make Save/Load dialog start saves sync

It also shows a "sync disabled" icon in case it has a savepath override.
This commit is contained in:
Alexander Tkachev 2016-06-05 15:44:05 +06:00
parent 8de2862eaa
commit e7763700e2
10 changed files with 64 additions and 17 deletions

View file

@ -87,6 +87,8 @@ int SaveLoadChooser::runModalWithPluginAndTarget(const EnginePlugin *plugin, con
if (!_impl)
return -1;
_impl->runSaveSync(ConfMan.hasKey("savepath", target));
// Set up the game domain as newly active domain, so
// target specific savepath will be checked
String oldDomain = ConfMan.getActiveDomainName();