autoupdater fixes, cursor fix, consistent directory separators + use of Path.Combine(), wire bugfixes, more loading screens
This commit is contained in:
@@ -24,6 +24,14 @@ namespace Subsurface
|
||||
Coroutines.Add(func.GetEnumerator());
|
||||
}
|
||||
|
||||
public static bool IsCoroutineRunning(string name)
|
||||
{
|
||||
IEnumerator<object> coroutine = Coroutines.FirstOrDefault(
|
||||
c => c.ToString().Contains(name));
|
||||
|
||||
return coroutine!=null;
|
||||
}
|
||||
|
||||
public static void StopCoroutine(string name)
|
||||
{
|
||||
IEnumerator<object> coroutine = Coroutines.FirstOrDefault(c => c.ToString().Contains(name));
|
||||
|
||||
Reference in New Issue
Block a user