Fix for bug #1719463: "DETECTOR: Launching undefined target adds launcher entry"
svn-id: r27352
This commit is contained in:
parent
e63041fcb7
commit
add3243e5e
2 changed files with 22 additions and 1 deletions
|
@ -212,7 +212,12 @@ PluginError detectGameForEngineCreation(
|
|||
ConfMan.set("platform", Common::getPlatformCode(o->platform));
|
||||
|
||||
warning("Target upgraded from %s to %s", o->from, o->to);
|
||||
ConfMan.flushToDisk();
|
||||
|
||||
if (ConfMan.hasKey("id_came_from_command_line")) {
|
||||
warning("Target came from command line. Skipping save");
|
||||
} else {
|
||||
ConfMan.flushToDisk();
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue