diff --git a/stepmania/src/RageUtil_WorkerThread.h b/stepmania/src/RageUtil_WorkerThread.h index 69840336bd..6c4722579d 100644 --- a/stepmania/src/RageUtil_WorkerThread.h +++ b/stepmania/src/RageUtil_WorkerThread.h @@ -16,6 +16,7 @@ public: * per-request timeout; you have 10 seconds to do your work, at which point all * requests time out until SetTimeout is called again. */ void SetTimeout( float fSeconds ); + bool TimeoutEnabled() const { return !m_Timeout.IsZero(); } protected: /* Call this in the derived class to start and stop the thread. */