project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m
branchios-develop
changeset 13204 e17efd663125
parent 12878 f012ce693681
--- a/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m	Wed Mar 14 00:46:20 2018 +0100
+++ b/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m	Wed Mar 14 15:58:16 2018 +0100
@@ -225,9 +225,9 @@
     [self startGame:gtSave atPath:atPath withOptions:nil];
 }
 
-+ (void)startMissionGame:(NSString *)withScript {
++ (void)startMissionGame:(NSString *)withSubPath {
     NSString *seedCmd = [self seedCommand];
-    NSString *missionPath = [[NSString alloc] initWithFormat:@"escript Missions/Training/%@.lua",withScript];
+    NSString *missionPath = [[NSString alloc] initWithFormat:@"escript Missions/%@.lua", withSubPath];
     NSDictionary *missionDict = [[NSDictionary alloc] initWithObjectsAndKeys:missionPath, @"mission_command", seedCmd, @"seed_command", nil];
 
     [self startGame:gtMission atPath:nil withOptions:missionDict];