+ Unsafe Compile Context Support

+ Allow unsafe context for ScriptCompiler process.
This commit is contained in:
LG Archer 2018-07-07 15:53:57 +01:00 committed by GitHub
parent d715573172
commit 559f13e61e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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" );