From 559f13e61ecc18e21ba791b1ee95071525ffb277 Mon Sep 17 00:00:00 2001 From: LG Archer Date: Sat, 7 Jul 2018 15:53:57 +0100 Subject: [PATCH] + Unsafe Compile Context Support + Allow unsafe context for ScriptCompiler process. --- Server/ScriptCompiler.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Server/ScriptCompiler.cs b/Server/ScriptCompiler.cs index 8ae4042d7..e72111f28 100644 --- a/Server/ScriptCompiler.cs +++ b/Server/ScriptCompiler.cs @@ -80,7 +80,9 @@ namespace Server public static string GetCompilerOptions( bool debug ) { - StringBuilder sb = null; + StringBuilder sb = null; + + AppendCompilerOption( ref sb, "/unsafe" ); if( !debug ) AppendCompilerOption( ref sb, "/optimize" );