project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m
changeset 6656 6aeaba3ee584
parent 6624 e049b5bb0ad1
child 6667 142fe596e75e
--- a/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m	Thu Feb 09 16:31:02 2012 +0100
+++ b/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m	Thu Feb 09 17:28:05 2012 +0100
@@ -36,7 +36,7 @@
 // prepares the controllers for hosting a game
 -(void) earlyEngineLaunch:(NSDictionary *)optionsOrNil {
     [self retain];
-    [AudioManagerController stopBackgroundMusic];
+    [AudioManagerController fadeOutBackgroundMusic];
 
     EngineProtocolNetwork *engineProtocol = [[EngineProtocolNetwork alloc] init];
     self.proto = engineProtocol;
@@ -107,7 +107,7 @@
         [[NSFileManager defaultManager] removeItemAtPath:self.savePath error:nil];
 
     // restart music and we're done
-    [AudioManagerController playBackgroundMusic];
+    [AudioManagerController fadeInBackgroundMusic];
     [HWUtils setGameStatus:gsNone];
     [HWUtils setGameType:gtNone];
     [self release];