fix oopsie that broke name change

This commit is contained in:
Alug committed 2025-10-25 14:25:38 +02:00
1 parent f73657aa79
commit 6000bb952a
1 file changed
+1 -1
+1 -1
View File
@@ -1381,7 +1381,7 @@ static void SetPlayerName(INT32 playernum, char *newname)
{
if (EnsurePlayerNameIsGood(newname, playernum))
{
if (fasticmp(newname, player_names[playernum]))
if (!fasticmp(newname, player_names[playernum]))
{
if (netgame)
HU_AddChatText(va("\x82*%s renamed to %s", player_names[playernum], newname), false);