From 8b4bd22ddbccb655fa00114a36f2d936a034c788 Mon Sep 17 00:00:00 2001 From: _nebula <41904486+misternebula@users.noreply.github.com> Date: Fri, 10 Feb 2023 12:01:19 +0000 Subject: [PATCH] add hud assetbundle to QSBCore --- QSB/QSBCore.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/QSB/QSBCore.cs b/QSB/QSBCore.cs index eb17db01..eb89b4f9 100644 --- a/QSB/QSBCore.cs +++ b/QSB/QSBCore.cs @@ -50,6 +50,7 @@ public class QSBCore : ModBehaviour public static AssetBundle NetworkAssetBundle { get; private set; } public static AssetBundle ConversationAssetBundle { get; private set; } public static AssetBundle DebugAssetBundle { get; private set; } + public static AssetBundle HUDAssetBundle { get; private set; } public static bool IsHost => NetworkServer.active; public static bool IsInMultiplayer; public static string QSBVersion => Helper.Manifest.Version; @@ -174,6 +175,7 @@ public class QSBCore : ModBehaviour NetworkAssetBundle = Helper.Assets.LoadBundle("AssetBundles/qsb_network"); ConversationAssetBundle = Helper.Assets.LoadBundle("AssetBundles/qsb_conversation"); DebugAssetBundle = Helper.Assets.LoadBundle("AssetBundles/qsb_debug"); + HUDAssetBundle = Helper.Assets.LoadBundle("AssetBundles/qsb_hud"); if (NetworkAssetBundle == null || ConversationAssetBundle == null || DebugAssetBundle == null) {