hedgewars/uGame.pas
changeset 3928 2560731c860d
parent 3904 22e4d74240e5
child 3935 5ca27a0e9a63
--- a/hedgewars/uGame.pas	Wed Oct 06 02:31:04 2010 +0200
+++ b/hedgewars/uGame.pas	Thu Oct 07 02:03:01 2010 +0200
@@ -26,7 +26,7 @@
 ////////////////////
    implementation
 ////////////////////
-uses uMisc, uConsts, uKeys, uTeams, uIO, uAI, uGears, uScript, uSound, SDLh;
+uses uMisc, uConsts, uKeys, uTeams, uIO, uAI, uGears, uScript, uSound, uMobile;
 
 procedure DoGameTick(Lag: LongInt);
 var i: LongInt;
@@ -68,9 +68,7 @@
                         if isSoundEnabled then playMusic;
                         GameType:= gmtLocal;
                         InitIPC;
-{$IFDEF IPHONEOS}
-                        replayFinished();
-{$ENDIF}
+                        doSomethingWhen_SaveFinishedSynching();
                         end;
                end
           else ProcessGears