static void Postfix()
        {
            if (!Main.enabled)
            {
                return;
            }

            MajordomoWindowButton.TryRegisterResources();
        }
        static void Postfix(bool __state)
        {
            if (!Main.enabled)
            {
                return;
            }

            if (__state)
            {
                UnityEngine.Debug.Log($"BuildingWindow.instance: initialized.");
                MajordomoWindowButton.TryRegisterResources();
            }
        }