mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-25 15:35:22 +00:00
remove GameObjectInstance and _thisInstance
This commit is contained in:
parent
9b197e1ea1
commit
2fe6810afc
@ -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<TextTranslation.TranslationTable>("m_table");
|
||||
instance.theUITable[(int)UITextType.PleaseUseController] =
|
||||
"<color=orange>Quantum Space Buddies</color> is best experienced with friends...";
|
||||
|
Loading…
x
Reference in New Issue
Block a user