// Need to handle hiding the element when in the game menu internal void InMenu() { if (Config.Instance.HideInMenu) { _list.Hide(); } }
public ResurrectHelper(ResurrectList list) { _list = list; // Hide in menu, if necessary if (Config.Instance.HideInMenu && CoreAPI.Game.IsInMenu) { _list.Hide(); } }