From ae1c7898e35f4022a4cf771f74e4461b00af5516 Mon Sep 17 00:00:00 2001 From: Nameless <85962933+Misfiy@users.noreply.github.com> Date: Thu, 7 Sep 2023 22:23:19 +0200 Subject: [PATCH] fixxx --- CoroutinesHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CoroutinesHandler.cs b/CoroutinesHandler.cs index 2887feb..dfa993d 100644 --- a/CoroutinesHandler.cs +++ b/CoroutinesHandler.cs @@ -13,9 +13,9 @@ public static void KillCoroutines() foreach(CoroutineHandle coroutine in Coroutines) { if(coroutine.IsRunning) Timing.KillCoroutines(coroutine); - Coroutines.Remove(coroutine); Log.Debug("Killed a coroutine successfully!"); } + Coroutines.Clear(); Log.Debug("Killed all coroutines"); } } \ No newline at end of file