mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-11 23:57:59 -05:00
Containment: fix time check on last score
This commit is contained in:
@ -2311,6 +2311,18 @@ containment_think()
|
|||||||
held_time["allies"] = getTime();
|
held_time["allies"] = getTime();
|
||||||
held_prev = "cont";
|
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"])
|
else if(in_containment_zone["axis"] > in_containment_zone["allies"])
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user