Skip to content

Commit

Permalink
Fixed issue where the loader was testing path_2 twice instead of chec…
Browse files Browse the repository at this point in the history
…king both path_1 and path_2. This made it impossible to load custom bundles from ~/Library
  • Loading branch information
dasevilla committed Aug 13, 2011
1 parent 6f2387c commit 6571aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Helpers/NSBundleHelper.m
Expand Up @@ -103,7 +103,7 @@ + (void)loadBundlesIntoMemory:(IRCWorld *)world

for (NSString *file in resourceFiles) {
if ([file hasSuffix:@".bundle"]) {
NSString *fullPath = [path_2 stringByAppendingPathComponent:file];
NSString *fullPath = [path_1 stringByAppendingPathComponent:file];

if ([_NSFileManager() fileExistsAtPath:fullPath] == NO) {
fullPath = [path_2 stringByAppendingPathComponent:file];
Expand Down

0 comments on commit 6571aca

Please sign in to comment.