diff --git a/source/src/bot/bot.cpp b/source/src/bot/bot.cpp index c480f344..fd8a0a9a 100644 --- a/source/src/bot/bot.cpp +++ b/source/src/bot/bot.cpp @@ -97,12 +97,12 @@ void CBot::Think() // Bot is dead? if (m_pMyEnt->state == CS_DEAD) { - if(lastmillis-m_pMyEnt->lastaction<1200) + if(lastmillis-m_pMyEnt->respawnoffset<1200) { m_pMyEnt->move = 0; moveplayer(m_pMyEnt, 1, true); } - else if (!m_arena && lastmillis-m_pMyEnt->lastaction>5000) + else if (!m_arena && lastmillis-m_pMyEnt->respawnoffset>5000) Spawn(); SendBotInfo();