changed using command line player name only for tape tests/uploads
authorHolger Schemel <info@artsoft.org>
Thu, 16 Sep 2021 14:47:29 +0000 (16:47 +0200)
committerHolger Schemel <info@artsoft.org>
Thu, 16 Sep 2021 14:47:29 +0000 (16:47 +0200)
src/files.c

index 61ea14cb7e7cdf1a76cce5382ce68d12af89a12c..468473e3ab1d4312ba055cb2efbbad2fa4048124 100644 (file)
@@ -9343,7 +9343,7 @@ static void UploadScoreToServerExt(struct HttpRequest *request,
   char *player_name_raw = score_entry->name;
   char *player_uuid_raw = setup.player_uuid;
 
-  if (options.player_name != NULL)
+  if (options.player_name != NULL && global.autoplay_leveldir != NULL)
   {
     player_name_raw = options.player_name;
     player_uuid_raw = "";