equal
deleted
inserted
replaced
286 |
286 |
287 // lua script (if set) |
287 // lua script (if set) |
288 NSString *script = [gameConfig objectForKey:@"mission_command"]; |
288 NSString *script = [gameConfig objectForKey:@"mission_command"]; |
289 if ([script length] != 0) |
289 if ([script length] != 0) |
290 [self sendToEngine:script]; |
290 [self sendToEngine:script]; |
|
291 // missions/tranings only need the script configuration set |
|
292 if ([gameConfig count] == 1) |
|
293 break; |
291 |
294 |
292 // seed info |
295 // seed info |
293 [self sendToEngine:[gameConfig objectForKey:@"seed_command"]]; |
296 [self sendToEngine:[gameConfig objectForKey:@"seed_command"]]; |
294 |
297 |
295 // dimension of the map |
298 // dimension of the map |