fix: kllstreak counting (resolves #749)

This commit is contained in:
jeefo 2025-11-22 15:14:13 +03:00
commit cd02ca3a23
No known key found for this signature in database
GPG key ID: D696786B81B667C8

View file

@ -1935,7 +1935,7 @@ void Bot::setConditions () {
}
}
else {
m_killsInterval = m_lastVictimTime - game.time ();
m_killsInterval = game.time () - m_lastVictimTime;
if (m_killsInterval <= 5.0f) {
++m_killsCount;