From d276005697a743a1bd95cd2d882a08fd74265a73 Mon Sep 17 00:00:00 2001 From: Kyle Bradley Date: Tue, 2 Mar 2021 21:42:53 +0200 Subject: [PATCH] Fixed missing variable --- src/game/server/ddracechat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/server/ddracechat.cpp b/src/game/server/ddracechat.cpp index a2215ffc2..bab5ce732 100644 --- a/src/game/server/ddracechat.cpp +++ b/src/game/server/ddracechat.cpp @@ -741,7 +741,7 @@ void CGameContext::ConSwap(IConsole::IResult *pResult, void *pUserData) pSelf->Console()->Print(IConsole::OUTPUT_LEVEL_STANDARD, "swap", "Swap request sent. The player needs to confirm it."); char aBuf[512]; - str_format(aBuf, sizeof(aBuf), "'%s' has requested to swap positions with you. Type /swap %s to confirm the swap.", pSelf->Server()->ClientName(pResult->m_ClientID)); + str_format(aBuf, sizeof(aBuf), "'%s' has requested to swap positions with you. Type /swap %s to confirm the swap.", pSelf->Server()->ClientName(pResult->m_ClientID), pSelf->Server()->ClientName(pResult->m_ClientID)); pSelf->SendChatTarget(TargetClientId, aBuf); return;