diff --git a/YuEzTools/Patches/MainMenuManagerPatch.cs b/YuEzTools/Patches/MainMenuManagerPatch.cs index 65bc155..d755908 100644 --- a/YuEzTools/Patches/MainMenuManagerPatch.cs +++ b/YuEzTools/Patches/MainMenuManagerPatch.cs @@ -168,16 +168,16 @@ void FormatButtonColor(PassiveButton button, Sprite borderType, Color inActiveCo var s = ""; if (DevsButton == null) DevsButton = CreatButton("DevsButton", () => { + s = ""; foreach (var dev in DevManager.DevUserList) { if (dev.Jobs != "NotJob") s += $"{dev.Name} => {GetString(dev.Jobs)}\n"; } - CustomPopup.Show(GetString("DevsTitle"), - s + CustomPopup.Show(GetString("DevsTitle"), s , new() { - (Translator.GetString(StringNames.Okay), null) + (GetString(StringNames.Okay), null) }); }); DevsButton.gameObject.SetActive(true);