Do not run Overtime ACS outside of GTR_OVERTIME or during Prisons

This commit is contained in:
James R 2024-03-07 00:49:50 -08:00
parent 958b2c68da
commit adf58933b3

View file

@ -1081,7 +1081,8 @@ void P_Ticker(boolean run)
ACS_RunPositionScript();
}
if (timelimitintics > 0 && leveltime == (timelimitintics + starttime + 1))
if ((gametyperules & GTR_OVERTIME) && !battleprisons &&
timelimitintics > 0 && leveltime == (timelimitintics + starttime + 1))
{
ACS_RunOvertimeScript();
}