cocoaTouch/GameConfigViewController.m
changeset 3373 c1ff724a5c34
parent 3369 c7289e42f0ee
child 3374 0d522416d97f
--- a/cocoaTouch/GameConfigViewController.m	Wed Apr 28 05:58:14 2010 +0000
+++ b/cocoaTouch/GameConfigViewController.m	Thu Apr 29 02:43:28 2010 +0000
@@ -96,6 +96,7 @@
                                                                       mapConfigViewController.templateFilterCommand,@"templatefilter_command",
                                                                       mapConfigViewController.mapGenCommand,@"mapgen_command",
                                                                       mapConfigViewController.mazeSizeCommand,@"mazesize_command",
+                                                                      mapConfigViewController.themeCommand,@"theme_command",
                                                                       teamConfigViewController.listOfSelectedTeams,@"teams_list",nil];
     [dict writeToFile:GAMECONFIG_FILE() atomically:YES];
     [dict release];
@@ -120,6 +121,12 @@
     [super viewWillAppear:animated];
 }
 
+-(void) viewDidAppear:(BOOL)animated {
+    [mapConfigViewController viewDidAppear:animated];
+    [teamConfigViewController viewDidAppear:animated];
+    [super viewDidAppear:animated];
+}
+
 -(void) didReceiveMemoryWarning {
     // Releases the view if it doesn't have a superview.
     [super didReceiveMemoryWarning];