diff --git a/Sources/VRage.Library/Compiler/IlChecker.cs b/Sources/VRage.Library/Compiler/IlChecker.cs index e4bdd0e3e1..fd1f11d8c8 100644 --- a/Sources/VRage.Library/Compiler/IlChecker.cs +++ b/Sources/VRage.Library/Compiler/IlChecker.cs @@ -26,7 +26,7 @@ static IlChecker() AllowNamespaceOfTypeCommon(typeof(System.Collections.IEnumerator)); AllowNamespaceOfTypeCommon(typeof(System.Collections.Generic.IEnumerable<>)); AllowNamespaceOfTypeCommon(typeof(System.Collections.Generic.HashSet<>)); - AllowNamespaceOfTypeCommon(typeof(System.Collections.Generic.Queue<>)); + AllowNamespaceOfTypeCommon(typeof(System.Collections.Generic.LinkedList<>)); AllowNamespaceOfTypeCommon(typeof(System.Collections.Generic.ListExtensions)); AllowNamespaceOfTypeCommon(typeof(System.Linq.Enumerable)); AllowNamespaceOfTypeCommon(typeof(System.Text.StringBuilder)); diff --git a/Sources/VRage.Scripting/MyScriptWhitelist.cs b/Sources/VRage.Scripting/MyScriptWhitelist.cs index 38f4f3a1b8..2acf008e2c 100644 --- a/Sources/VRage.Scripting/MyScriptWhitelist.cs +++ b/Sources/VRage.Scripting/MyScriptWhitelist.cs @@ -53,7 +53,7 @@ public MyScriptWhitelist(MyScriptCompiler scriptCompiler) typeof(System.Collections.IEnumerator), typeof(System.Collections.Generic.IEnumerable<>), typeof(System.Collections.Generic.HashSet<>), - typeof(System.Collections.Generic.Queue<>), + typeof(System.Collections.Generic.LinkedList<>), typeof(System.Collections.Concurrent.ConcurrentDictionary<,>), typeof(System.Collections.Concurrent.ConcurrentBag<>), typeof(System.Linq.Enumerable),