Skip to content

Commit

Permalink
Keep manual replies instant (for integration test speeds)
Browse files Browse the repository at this point in the history
Its sad that you can loose replies. But being fast is also cool if there
is no spam protection. Anyways the integration tests are more important
and they should be as fast as possible. So this would have to be fixed
smarter. Or at least in a way where integration tests still can go fast.
  • Loading branch information
ChillerDragon committed Sep 16, 2024
1 parent b825b39 commit 0d372fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/game/client/components/chillerbot/chathelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ void CChatHelper::ConReplyToLastPing(IConsole::IResult *pResult, void *pUserData
{
if(aResponse[0])
{
pSelf->SayBuffer(aResponse, Team == 1 ? BUFFER_CHAT_TEAM : BUFFER_CHAT_ALL);
pSelf->m_pClient->m_Chat.SendChat(Team == 1 ? BUFFER_CHAT_TEAM : BUFFER_CHAT_ALL, aResponse);
// pSelf->SayBuffer(aResponse, Team == 1 ? BUFFER_CHAT_TEAM : BUFFER_CHAT_ALL);
break;
}
}
Expand Down

0 comments on commit 0d372fe

Please sign in to comment.