diff -r 1429c303858d -r dd47efbdec46 project_files/HedgewarsMobile/Classes/GameSetup.m --- a/project_files/HedgewarsMobile/Classes/GameSetup.m Sun Sep 26 16:28:04 2010 -0400 +++ b/project_files/HedgewarsMobile/Classes/GameSetup.m Sun Sep 26 23:48:03 2010 +0200 @@ -337,6 +337,11 @@ if ([staticMap length] != 0) [self sendToEngine:staticMap]; + // lua script (if set) + NSString *script = [self.gameConfig objectForKey:@"script_command"]; + if ([script length] != 0) + [self sendToEngine:script]; + // theme info [self sendToEngine:[self.gameConfig objectForKey:@"theme_command"]];