mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Fix /cmdlist output not being shown in chat
This commit is contained in:
parent
450e6a53f7
commit
0ff129a19e
|
@ -706,7 +706,7 @@ void CConsole::ConCommandStatus(IResult *pResult, void *pUser)
|
|||
}
|
||||
else
|
||||
{
|
||||
pConsole->Print(OUTPUT_LEVEL_STANDARD, "console", aBuf);
|
||||
pConsole->Print(OUTPUT_LEVEL_STANDARD, "chatresp", aBuf);
|
||||
mem_zero(aBuf, sizeof(aBuf));
|
||||
str_copy(aBuf, pCommand->m_pName, sizeof(aBuf));
|
||||
Used = Length;
|
||||
|
@ -714,7 +714,7 @@ void CConsole::ConCommandStatus(IResult *pResult, void *pUser)
|
|||
}
|
||||
}
|
||||
if(Used > 0)
|
||||
pConsole->Print(OUTPUT_LEVEL_STANDARD, "console", aBuf);
|
||||
pConsole->Print(OUTPUT_LEVEL_STANDARD, "chatresp", aBuf);
|
||||
}
|
||||
|
||||
void CConsole::ConUserCommandStatus(IResult *pResult, void *pUser)
|
||||
|
|
Loading…
Reference in a new issue