diff --git a/core/PlayerManager.cpp b/core/PlayerManager.cpp index a4c5086a..ddf75b37 100644 --- a/core/PlayerManager.cpp +++ b/core/PlayerManager.cpp @@ -1830,7 +1830,11 @@ void CPlayer::Kick(const char *str) else { IClient *pClient = static_cast(pNetChan->GetMsgHandler()); +#if SOURCE_ENGINE == SE_CSGO + pClient->Disconnect(str); +#else pClient->Disconnect("%s", str); +#endif } }