change initialization approach, refactoring

should resolve errors occurring on both Atlas and WurstMod maps
This commit is contained in:
msk
2023-07-31 02:32:02 -07:00
parent 73d8a5b89d
commit b87db514a5
7 changed files with 49 additions and 51 deletions
+1 -4
View File
@@ -1,6 +1,4 @@
using HarmonyLib;
using System.Reflection;
using UnityEngine;
using UnityEngine;
using FistVR;
namespace TNHQoLImprovements
@@ -32,7 +30,6 @@ namespace TNHQoLImprovements
void OnDestroy()
{
// Destroy statics
tnhManager = null;
}
}