Updated TF2_OnIsHolidayActive ret behavior to match doc (bug 5155, r=fyren).
This commit is contained in:
parent
c1aa49ef3a
commit
a98edd42d1
@ -51,7 +51,7 @@ DETOUR_DECL_STATIC1(IsHolidayActive, bool, int, holiday)
|
||||
g_isHolidayForward->PushCellByRef(&newres);
|
||||
g_isHolidayForward->Execute(&result);
|
||||
|
||||
if (result == Pl_Changed)
|
||||
if (result > Pl_Continue)
|
||||
{
|
||||
return (newres == 0) ? false : true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user