fix checking if coroutine is running

This commit is contained in:
in0finite 2022-03-24 17:37:54 +01:00
parent 1a9efae6b8
commit 62a8e4f4c9

View file

@ -52,7 +52,7 @@ namespace SanAndreasUnity.Utilities
if (null == coroutineInfo)
return false;
return m_coroutines.Contains(coroutineInfo);
return m_coroutines.Contains(coroutineInfo) || m_newCoroutines.Contains(coroutineInfo);
}
public void Update()