--- a/project_files/HedgewarsMobile/Classes/ObjcExports.m Fri Apr 29 17:11:08 2011 +0400
+++ b/project_files/HedgewarsMobile/Classes/ObjcExports.m Sat Apr 30 20:06:05 2011 +0200
@@ -101,6 +101,9 @@
}
void saveBeganSynching() {
+ savedGame = YES;
+ stopSpinningProgress();
+
overlay_instance.view.backgroundColor = [UIColor blackColor];
overlay_instance.view.alpha = 0.75;
overlay_instance.view.userInteractionEnabled = NO;
@@ -114,9 +117,6 @@
[overlay_instance.savesIndicator startAnimating];
[overlay_instance.view addSubview:overlay_instance.savesIndicator];
[overlay_instance.savesIndicator release];
-
- savedGame = YES;
- stopSpinningProgress();
}
void saveFinishedSynching() {
@@ -131,7 +131,6 @@
[overlay_instance.savesIndicator performSelector:@selector(removeFromSuperview) withObject:nil afterDelay:1];
gameRunning = YES;
- savedGame = NO;
}
void updateVisualsNewTurn(void) {