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,7 +2373,11 @@ containment_think()
|
|||||||
if((getTime() - held_time["axis"]) >= 1000)
|
if((getTime() - held_time["axis"]) >= 1000)
|
||||||
{
|
{
|
||||||
held_time["axis"] = getTime();
|
held_time["axis"] = getTime();
|
||||||
increment_score("axis");
|
|
||||||
|
if((held_prev != "cont") || ((level.grief_score["A"] + 1) < level.grief_winning_score))
|
||||||
|
{
|
||||||
|
increment_score("axis");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2382,7 +2386,12 @@ containment_think()
|
|||||||
if((getTime() - held_time["allies"]) >= 1000)
|
if((getTime() - held_time["allies"]) >= 1000)
|
||||||
{
|
{
|
||||||
held_time["allies"] = getTime();
|
held_time["allies"] = getTime();
|
||||||
increment_score("allies");
|
|
||||||
|
|
||||||
|
if((held_prev != "cont") || ((level.grief_score["B"] + 1) < level.grief_winning_score))
|
||||||
|
{
|
||||||
|
increment_score("allies");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user