diff --git a/MenuAPI/MenuController.cs b/MenuAPI/MenuController.cs index 39bb6e6..7f43a95 100644 --- a/MenuAPI/MenuController.cs +++ b/MenuAPI/MenuController.cs @@ -12,8 +12,8 @@ public class MenuController : BaseScript public static List Menus { get; protected set; } = new List(); internal static HashSet VisibleMenus { get; } = new HashSet(); #if FIVEM - public const string _texture_dict = "commonmenu"; - public const string _header_texture = "interaction_bgd"; + public static string _texture_dict = "commonmenu"; + public static string _header_texture = "interaction_bgd"; #endif #if REDM public const string _texture_dict = "menu_textures"; @@ -21,7 +21,7 @@ public class MenuController : BaseScript #endif private static List menuTextureAssets = new List() { -#if FIVEM +#if FIVEM "commonmenu", "commonmenutu", "mpleaderboard", @@ -31,7 +31,8 @@ public class MenuController : BaseScript "mprankbadge", "mpcarhud", "mpcarhud2", - "shared" + "shared", + _texture_dict #endif #if REDM "menu_textures",