From 2fe6810afcdb5bed81edd1338ef37fd451705bed Mon Sep 17 00:00:00 2001 From: Mister_Nebula <41904486+misternebula@users.noreply.github.com> Date: Sat, 19 Jun 2021 11:12:38 +0100 Subject: [PATCH] remove GameObjectInstance and _thisInstance --- QSB/QSBCore.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/QSB/QSBCore.cs b/QSB/QSBCore.cs index 43bb288e..28b3af0f 100644 --- a/QSB/QSBCore.cs +++ b/QSB/QSBCore.cs @@ -67,17 +67,13 @@ namespace QSB public static bool IsServer => QNetworkServer.active; public static bool IsInMultiplayer => QNetworkManager.singleton.isNetworkActive; public static string QSBVersion => Helper.Manifest.Version; - public static GameObject GameObjectInstance => _thisInstance.gameObject; - private static QSBCore _thisInstance; private const float _debugLineSpacing = 11f; public void Awake() { Application.runInBackground = true; - _thisInstance = this; - var instance = TextTranslation.Get().GetValue("m_table"); instance.theUITable[(int)UITextType.PleaseUseController] = "Quantum Space Buddies is best experienced with friends...";