Skip to content

Commit

Permalink
Change comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
Lpsd committed Nov 28, 2023
1 parent 3150666 commit aba4aaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Server/mods/deathmatch/logic/CGame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4717,7 +4717,7 @@ void CGame::RegisterClientTriggeredEventUsage(CPlayer* pPlayer)
m_mapClientTriggeredEvents[pPlayer].second = now;

// Only increment if we haven't reached the interval time already
if (now - m_mapClientTriggeredEvents[pPlayer].second < m_iClientTriggeredEventsIntervalMs)
if (now - m_mapClientTriggeredEvents[pPlayer].second <= m_iClientTriggeredEventsIntervalMs)
m_mapClientTriggeredEvents[pPlayer].first++;
}

Expand Down

0 comments on commit aba4aaa

Please sign in to comment.