hedgewars/uWorld.pas
changeset 7847 a595d4f4837d
parent 7841 43e68ac28d79
child 7850 fcbb024090a4
--- a/hedgewars/uWorld.pas	Sun Oct 28 00:16:59 2012 +0200
+++ b/hedgewars/uWorld.pas	Sun Oct 28 03:12:49 2012 +0100
@@ -1801,6 +1801,10 @@
 begin
 if (not cHasFocus) and (GameState <> gsConfirm) then
     ParseCommand('quit', true);
+{$IFDEF MOBILE}
+// when created SDL receives an exposure event that calls UndampenAudio at full power, muting audio
+exit;
+{$ENDIF}
 
 {$IFDEF USE_VIDEO_RECORDING}
 // do not change volume during prerecording as it will affect sound in video file