mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
commit
b66a9d6283
|
@ -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