Resolve server name

#341
This commit is contained in:
Maurice Heumann 2023-03-23 19:58:23 +01:00
parent ceeed4d7f6
commit cb3f6f020f

View File

@ -56,6 +56,11 @@ namespace chat
const char* get_client_name(const uint64_t xuid) const char* get_client_name(const uint64_t xuid)
{ {
if (xuid == 0xFFFFFFFF)
{
return "Server";
}
if (xuid < 19 && !game::is_server()) if (xuid < 19 && !game::is_server())
{ {
char buffer[256]; char buffer[256];