Fix subtle database corruption that would cause games common to 2 or more PCs to jump between them based on the last app list fetched

This commit is contained in:
Cameron Gutman
2018-06-02 20:44:12 -07:00
parent 80254513c4
commit 9c019be322

View File

@@ -224,7 +224,7 @@
- (App*) getAppForTemporaryApp:(TemporaryApp*)tempApp withAppRecords:(NSArray*)apps {
for (App* app in apps) {
if ([app.id isEqualToString:tempApp.id] &&
[app.host.uuid isEqualToString:app.host.uuid]) {
[app.host.uuid isEqualToString:tempApp.host.uuid]) {
return app;
}
}