--- a/project_files/HedgewarsMobile/Classes/MapConfigViewController.m Tue Feb 16 11:31:55 2016 -0500
+++ b/project_files/HedgewarsMobile/Classes/MapConfigViewController.m Wed Feb 17 23:27:13 2016 +0100
@@ -45,9 +45,7 @@
return;
// generate a seed
- CFUUIDRef uuid = CFUUIDCreate(kCFAllocatorDefault);
- NSString *seed = (NSString *)CFUUIDCreateString(kCFAllocatorDefault, uuid);
- CFRelease(uuid);
+ NSString *seed = [HWUtils seed];
NSString *seedCmd = [[NSString alloc] initWithFormat:@"eseed {%@}", seed];
self.seedCommand = seedCmd;
[seedCmd release];