fixed default player names on name selection screen
authorHolger Schemel <info@artsoft.org>
Tue, 20 Oct 2020 23:14:02 +0000 (01:14 +0200)
committerHolger Schemel <info@artsoft.org>
Sun, 13 Dec 2020 23:57:59 +0000 (00:57 +0100)
src/files.c

index bb08277e9817d5b97723086914a4424737b3c701..b2a6fb5c13f4976c8d23ffd8e3c942f69706ba4f 100644 (file)
@@ -9673,7 +9673,7 @@ void LoadUserNames(void)
     }
 
     if (global.user_names[i] == NULL)
-      global.user_names[i] = getStringCopy(EMPTY_PLAYER_NAME);
+      global.user_names[i] = getStringCopy(getDefaultUserName(i));
   }
 
   user.nr = last_user_nr;