diff --git a/src/game/server/ddracechat.cpp b/src/game/server/ddracechat.cpp index 3b06d0bde..ecf8743fa 100644 --- a/src/game/server/ddracechat.cpp +++ b/src/game/server/ddracechat.cpp @@ -1083,7 +1083,7 @@ void CGameContext::ConJoinTeam(IConsole::IResult *pResult, void *pUserData) else { char aBuf[512]; - str_format(aBuf, sizeof(aBuf), "%s joined team %d", + str_format(aBuf, sizeof(aBuf), "'%s' joined team %d", pSelf->Server()->ClientName(pPlayer->GetCID()), Team); pSelf->SendChat(-1, CGameContext::CHAT_ALL, aBuf); diff --git a/src/game/server/teams.cpp b/src/game/server/teams.cpp index 30bf030c7..a98a2f8c7 100644 --- a/src/game/server/teams.cpp +++ b/src/game/server/teams.cpp @@ -657,7 +657,7 @@ void CGameTeams::OnTeamFinish(CPlayer **Players, unsigned int Size, float Time, { SetForceCharacterTeam(Players[i]->GetCID(), TEAM_FLOCK); char aBuf[512]; - str_format(aBuf, sizeof(aBuf), "%s joined team 0", + str_format(aBuf, sizeof(aBuf), "'%s' joined team 0", GameServer()->Server()->ClientName(Players[i]->GetCID())); GameServer()->SendChat(-1, CGameContext::CHAT_ALL, aBuf); }