1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-10 15:17:57 -05:00

Containment: fix time check on last score

This commit is contained in:
Jbleezy
2022-01-30 22:56:38 -08:00
parent 41b8ae3744
commit ffd1c56803

View File

@ -2311,6 +2311,18 @@ containment_think()
held_time["allies"] = getTime();
held_prev = "cont";
}
else
{
if((level.grief_score["A"] + 1) >= level.grief_winning_score)
{
held_time["axis"] = getTime();
}
if((level.grief_score["B"] + 1) >= level.grief_winning_score)
{
held_time["allies"] = getTime();
}
}
}
else if(in_containment_zone["axis"] > in_containment_zone["allies"])
{