diff --git a/Inferno/Inferno.csproj b/Inferno/Inferno.csproj
index 6ab14839..fc051172 100644
--- a/Inferno/Inferno.csproj
+++ b/Inferno/Inferno.csproj
@@ -168,6 +168,7 @@
+
diff --git a/Inferno/InfernoScripts/InfernoCore/CoroutineSystem.cs b/Inferno/InfernoScripts/InfernoCore/CoroutineSystem.cs
index 465dd20d..e3a35e0f 100644
--- a/Inferno/InfernoScripts/InfernoCore/CoroutineSystem.cs
+++ b/Inferno/InfernoScripts/InfernoCore/CoroutineSystem.cs
@@ -2,6 +2,7 @@
using System.Collections;
using System.Collections.Generic;
using System.Linq;
+using System.Windows.Markup.Localizer;
namespace Inferno
{
@@ -57,6 +58,17 @@ public void RemoveCoroutine(uint id)
}
}
+ ///
+ /// 全てのコルーチンを停止する
+ ///
+ public void RemoveAllCoroutine()
+ {
+ lock (_lockObject)
+ {
+ _coroutines.Clear();
+ }
+ }
+
///
/// コルーチンが存在するかどうかチェックする
///
diff --git a/Inferno/InfernoScripts/InfernoCore/InfernoScript.cs b/Inferno/InfernoScripts/InfernoCore/InfernoScript.cs
index 95cdf7cd..42428fbf 100644
--- a/Inferno/InfernoScripts/InfernoCore/InfernoScript.cs
+++ b/Inferno/InfernoScripts/InfernoCore/InfernoScript.cs
@@ -158,10 +158,12 @@ protected uint StartCoroutine(IEnumerable