fixed bug with uploading tapes when score server is disabled
authorHolger Schemel <info@artsoft.org>
Tue, 26 Jul 2022 22:32:27 +0000 (00:32 +0200)
committerHolger Schemel <info@artsoft.org>
Tue, 26 Jul 2022 22:32:27 +0000 (00:32 +0200)
src/screens.c

index 41cde998f09bb12e1488f56f0e08cee0735daf3e..247d24bba991d2c0de1fdfdc5743415267a029fd 100644 (file)
@@ -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];