From 5292b55078ab3bc3ab948b1caf4d4922c948d597 Mon Sep 17 00:00:00 2001
From: arookas <arookas@outlook.com>
Date: Mon, 1 Feb 2016 05:48:12 -0500
Subject: [PATCH] Fixed: default kept state between compilations

I know having a property return an instance every call is not a good
design. I get it.
---
 ssc/import.cs | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/ssc/import.cs b/ssc/import.cs
index b292494..18156a5 100644
--- a/ssc/import.cs
+++ b/ssc/import.cs
@@ -5,14 +5,8 @@ using System.Linq;
 
 namespace arookas {
 	public abstract class sunImportResolver {
-		static sunImportResolver sDefaultResolver;
-
 		public static sunImportResolver Default {
-			get { return sDefaultResolver; }
-		}
-
-		static sunImportResolver() {
-			sDefaultResolver = new sunDefaultImportResolver();
+			get { return new sunDefaultImportResolver(); }
 		}
 
 		public abstract void EnterFile(sunScriptFile file);