project_files/HedgewarsMobile/Classes/GameSetup.m
changeset 3642 fb39fecca350
parent 3634 93d260c96635
child 3660 bc125bea5849
--- a/project_files/HedgewarsMobile/Classes/GameSetup.m	Wed Jul 14 00:43:36 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/GameSetup.m	Thu Jul 15 01:18:51 2010 +0200
@@ -290,6 +290,11 @@
                 [self sendToEngine:[self.gameConfig objectForKey:@"mapgen_command"]];
                 [self sendToEngine:[self.gameConfig objectForKey:@"mazesize_command"]];
                 
+                // static land (if set)
+                NSString *staticMap = [self.gameConfig objectForKey:@"staticmap_command"];
+                if ([staticMap length] != 0)
+                    [self sendToEngine:staticMap];
+                
                 // theme info
                 [self sendToEngine:[self.gameConfig objectForKey:@"theme_command"]];