project_files/HedgewarsMobile/Classes/GameSetup.m
changeset 3911 46d7a5cf8ac6
parent 3910 dd47efbdec46
child 3912 e11df2de6af2
equal deleted inserted replaced
3910:dd47efbdec46 3911:46d7a5cf8ac6
   336                 NSString *staticMap = [self.gameConfig objectForKey:@"staticmap_command"];
   336                 NSString *staticMap = [self.gameConfig objectForKey:@"staticmap_command"];
   337                 if ([staticMap length] != 0)
   337                 if ([staticMap length] != 0)
   338                     [self sendToEngine:staticMap];
   338                     [self sendToEngine:staticMap];
   339 
   339 
   340                 // lua script (if set)
   340                 // lua script (if set)
   341                 NSString *script = [self.gameConfig objectForKey:@"script_command"];
   341                 NSString *script = [self.gameConfig objectForKey:@"mission_command"];
   342                 if ([script length] != 0)
   342                 if ([script length] != 0)
   343                     [self sendToEngine:script];
   343                     [self sendToEngine:script];
   344                 
   344                 
   345                 // theme info
   345                 // theme info
   346                 [self sendToEngine:[self.gameConfig objectForKey:@"theme_command"]];
   346                 [self sendToEngine:[self.gameConfig objectForKey:@"theme_command"]];