diff --git a/mp/src/game/server/npcr/npcr_schedule.h b/mp/src/game/server/npcr/npcr_schedule.h index 80d578af1..cd444cd28 100644 --- a/mp/src/game/server/npcr/npcr_schedule.h +++ b/mp/src/game/server/npcr/npcr_schedule.h @@ -127,10 +127,10 @@ namespace NPCR ScheduleState_t Intercept( CSchedule* sched, const char* szReason = "" ) { // Bad practice if we attempt this more than once... or a bug. - if ( IsIntercepted() ) + if ( !IsRunning() ) { AssertMsg( 0, szReason ); - return SCHED_INTERCEPTED; + return m_State; } Assert( sched != nullptr ); @@ -177,7 +177,7 @@ namespace NPCR void End( const char* szReason = "" ) { // Bad practice if we attempt this more than once... or a bug. - if ( IsDone() ) + if ( !IsRunning() ) { AssertMsg( 0, szReason ); return;