cocoaTouch/GameSetup.m
changeset 3490 016b3172b645
parent 3487 b1d00f1950c8
child 3495 a6b4f351d400
--- a/cocoaTouch/GameSetup.m	Tue Jun 01 19:33:45 2010 +0000
+++ b/cocoaTouch/GameSetup.m	Wed Jun 02 13:52:23 2010 +0000
@@ -292,7 +292,7 @@
 				[self sendToEngine:[self.gameConfig objectForKey:@"seed_command"]];
 				
                 // scheme (returns initial health)
-                NSInteger health = [self provideScheme:@"testing"];
+                NSInteger health = [self provideScheme:@"Scheme 0"];
 
 				// dimension of the map
 				[self sendToEngine:[self.gameConfig objectForKey:@"templatefilter_command"]];
@@ -384,7 +384,8 @@
     [[NSFileManager defaultManager] removeItemAtPath:GAMECONFIG_FILE() error:NULL];
     
 	[pool release];
-	[NSThread exit];
+    //Invoking this method should be avoided as it does not give your thread a chance to clean up any resources it allocated during its execution.
+    //[NSThread exit];
 }
 
 #pragma mark -