sv_swap_timeout <=

This commit is contained in:
def 2021-04-07 16:16:50 +02:00
parent 805966537d
commit 9a56b229ca

View file

@ -727,7 +727,7 @@ void CGameTeams::SwapTeamCharacters(CPlayer *pPlayer, CPlayer *pTargetPlayer, in
}
int TimeoutAfterDelay = g_Config.m_SvSaveSwapGamesDelay + g_Config.m_SvSwapTimeout;
if(Since > TimeoutAfterDelay)
if(Since >= TimeoutAfterDelay)
{
str_format(aBuf, sizeof(aBuf),
"Your swap request timed out %d seconds ago. Use /swap again to re-initiate it.",