mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-11 23:57:59 -05:00
Containment: last score must be uncontested
This commit is contained in:
@ -2373,18 +2373,27 @@ containment_think()
|
||||
if((getTime() - held_time["axis"]) >= 1000)
|
||||
{
|
||||
held_time["axis"] = getTime();
|
||||
|
||||
if((held_prev != "cont") || ((level.grief_score["A"] + 1) < level.grief_winning_score))
|
||||
{
|
||||
increment_score("axis");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(isDefined(held_time["allies"]))
|
||||
{
|
||||
if((getTime() - held_time["allies"]) >= 1000)
|
||||
{
|
||||
held_time["allies"] = getTime();
|
||||
|
||||
|
||||
if((held_prev != "cont") || ((level.grief_score["B"] + 1) < level.grief_winning_score))
|
||||
{
|
||||
increment_score("allies");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
wait 0.05;
|
||||
}
|
||||
|
Reference in New Issue
Block a user