X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=Classes%2FNJMappingsController.m;fp=Classes%2FNJMappingsController.m;h=c3209ac931a20b365002b88fc96d9494e390c25a;hp=fa851b15629e23c098b3a1809899f7285a966b5f;hb=5c56b988cdf5079dd5f3f256012e0d0a384f96f7;hpb=91ea24909c2c38d9f3d319e6440b362222fdfd87 diff --git a/Classes/NJMappingsController.m b/Classes/NJMappingsController.m index fa851b1..c3209ac 100644 --- a/Classes/NJMappingsController.m +++ b/Classes/NJMappingsController.m @@ -231,7 +231,7 @@ mappings:_mappings error:&error]; - if (mapping && !error) { + if (mapping) { NJMapping *mergeInto = self[mapping.name]; if ([mergeInto hasConflictWith:mapping]) { NSAlert *conflictAlert = [[NSAlert alloc] init]; @@ -256,9 +256,7 @@ [self activateMapping:mapping]; [self mappingsChanged]; } - } - - if (error) { + } else { [window presentError:error modalForWindow:window delegate:nil