[Network]: Fix this (#970)

This commit is contained in:
Edo 2023-04-24 23:51:04 +02:00 committed by GitHub
parent f8acea54d8
commit 2d196ea313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -402,7 +402,7 @@ namespace Components
Game::I_strncpyz(clc->serverMessage, data.data(), sizeof(clc->serverMessage)); Game::I_strncpyz(clc->serverMessage, data.data(), sizeof(clc->serverMessage));
Game::Com_sprintf(buffer, sizeof(buffer), "%s", data.data()); Game::Com_sprintf(buffer, sizeof(buffer), "%s", data.data());
Game::Com_PrintMessage(Game::CON_CHANNEL_CLIENT, data.data(), 0); Game::Com_PrintMessage(Game::CON_CHANNEL_CLIENT, buffer, 0);
}); });
} }
} }