projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed bug with uploading tapes when score server is disabled
[rocksndiamonds.git]
/
src
/
screens.c
diff --git
a/src/screens.c
b/src/screens.c
index 41cde998f09bb12e1488f56f0e08cee0735daf3e..247d24bba991d2c0de1fdfdc5743415267a029fd 100644
(file)
--- a/
src/screens.c
+++ b/
src/screens.c
@@
-10482,6
+10482,9
@@
static boolean OfferUploadTapes(void)
"Upload all your tapes to the high score server now?", REQ_ASK))
return FALSE;
"Upload all your tapes to the high score server now?", REQ_ASK))
return FALSE;
+ // when uploading tapes, make sure that high score server is enabled
+ runtime.use_api_server = setup.use_api_server = TRUE;
+
int num_tapes_uploaded = UploadTapes();
char message[100];
int num_tapes_uploaded = UploadTapes();
char message[100];