mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
sv_swap_timeout <=
This commit is contained in:
parent
805966537d
commit
9a56b229ca
|
@ -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.",
|
||||
|
|
Loading…
Reference in a new issue