projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6deb99c
)
fixed bug with uploading tapes when score server is disabled
author
Holger Schemel
<info@artsoft.org>
Tue, 26 Jul 2022 22:32:27 +0000
(
00:32
+0200)
committer
Holger Schemel
<info@artsoft.org>
Tue, 26 Jul 2022 22:32:27 +0000
(
00:32
+0200)
src/screens.c
patch
|
blob
|
history
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;
+ // 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];