Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
Brain-dawg committed Jan 24, 2025
1 parent 15b277b commit f85e771
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mge/mge.nut
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ if (ENABLE_LEADERBOARD && ELO_TRACKING_MODE > 1)

if ((player.GetOrigin() - point).Length() < radius)
{
if (!(player in current_cappers))
if (!(player in current_cappers) || !current_cappers[player])
current_cappers[player] <- true

foreach(p, is_capping in current_cappers)
Expand All @@ -194,7 +194,7 @@ if (ENABLE_LEADERBOARD && ELO_TRACKING_MODE > 1)
{

//revert enemy partial cap progress first
if (arena.Koth[enemy_partial_cap_amount] > 0.0 && !cap_contested)
if (arena.Koth[enemy_partial_cap_amount] > 0.0)
{
if (arena.Koth.additive_decay)
arena.Koth[enemy_partial_cap_amount] -= arena.Koth.partial_cap_rate
Expand Down

0 comments on commit f85e771

Please sign in to comment.