diff --git a/core/logic/smn_timers.cpp b/core/logic/smn_timers.cpp index c7783f6b..33d3d873 100644 --- a/core/logic/smn_timers.cpp +++ b/core/logic/smn_timers.cpp @@ -133,7 +133,10 @@ ResultType TimerNatives::OnTimer(ITimer *pTimer, void *pData) { TimerInfo *pInfo = reinterpret_cast(pData); IPluginFunction *pFunc = pInfo->Hook; - cell_t res = static_cast(Pl_Continue); + if (!pFunc->IsRunnable()) + return Pl_Continue; + + cell_t res = static_cast(Pl_Continue); pFunc->PushCell(pInfo->TimerHandle); pFunc->PushCell(pInfo->UserData);