Skip to content

Commit c6d2a05

Browse files
committed
Send /stats NAME to public chat
1 parent 8e90952 commit c6d2a05

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/game/server/scoreworker.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -2029,6 +2029,7 @@ bool CScoreWorker::ShowStats(IDbConnection *pSqlServer, const ISqlData *pGameDat
20292029
}
20302030
else
20312031
{
2032+
pResult->m_MessageKind = CScorePlayerResult::ALL;
20322033
str_format(pResult->m_Data.m_aaMessages[0], sizeof(pResult->m_Data.m_aaMessages[0]),
20332034
"%s has won %d rounds of bombtag and played a total of %d with a win rate of %.02f%% requested by %s",
20342035
pData->m_aName, RoundsWon, RoundsPlayed, ((float)RoundsWon / (float)RoundsPlayed) * 100.0f, pData->m_aRequestingPlayer);

0 commit comments

Comments
 (0)