Fix osx launcher.
This commit is contained in:
@@ -58,8 +58,8 @@
|
||||
if ([kv count] < 2)
|
||||
continue;
|
||||
|
||||
id key = [kv objectAtIndex:0];
|
||||
id value = [kv objectAtIndex:1];
|
||||
id key = [[kv objectAtIndex:0] stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];
|
||||
id value = [[kv objectAtIndex:1] stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];
|
||||
|
||||
if ([key isEqualToString:@"Error"])
|
||||
{
|
||||
@@ -75,7 +75,7 @@
|
||||
id path = [gamePath stringByAppendingPathComponent:[NSString stringWithFormat:@"mods/%@",current]];
|
||||
[ret setObject:[Mod modWithId:current fields:fields path:path] forKey:current];
|
||||
}
|
||||
NSLog(@"Parsing mod %@",value);
|
||||
NSLog(@"Parsing mod `%@`",value);
|
||||
current = value;
|
||||
fields = [NSMutableDictionary dictionary];
|
||||
}
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
self = [super init];
|
||||
if (self != nil)
|
||||
{
|
||||
NSLog(@"Requesting url `%@` with callback:`%@`",aURL, aCallback);
|
||||
url = [aURL retain];
|
||||
callback = [aCallback retain];
|
||||
game = [aGame retain];
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user