From 5003f7c4a9d16e5c73dd339a00dd75365fda723d Mon Sep 17 00:00:00 2001 From: Mark Sturgill Date: Sun, 9 Mar 2014 17:07:26 -0700 Subject: [PATCH] add NEWTIMERS and NEWPARENT preprocessor directives to assist third party developers --- Server/ScriptCompiler.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Server/ScriptCompiler.cs b/Server/ScriptCompiler.cs index ec975318f..cfc15e5b2 100644 --- a/Server/ScriptCompiler.cs +++ b/Server/ScriptCompiler.cs @@ -96,6 +96,9 @@ namespace Server AppendCompilerOption( ref sb, "/d:Framework_2_0" ); AppendCompilerOption( ref sb, "/d:Framework_4_0" ); + AppendCompilerOption(ref sb, "/d:NEWTIMERS"); + AppendCompilerOption(ref sb, "/d:NEWPARENT"); + return (sb == null ? null : sb.ToString()); }