--- a/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m Wed Oct 05 00:18:54 2011 +0200
+++ b/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m Wed Oct 05 01:06:58 2011 +0200
@@ -215,7 +215,9 @@
self.gameType = gtMission;
self.savePath = nil;
- NSDictionary *config = [NSDictionary dictionaryWithObject:withScript forKey:@"mission_command"];
+ NSString *missionPath = [[NSString alloc] initWithFormat:@"escript Missions/Training/%@.lua",withScript];
+ NSDictionary *config = [NSDictionary dictionaryWithObject:missionPath forKey:@"mission_command"];
+ [missionPath release];
[self.engineProtocol spawnThread:nil withOptions:config];
[self prepareEngineLaunch];
}