Update Join button localization

This commit is contained in:
kmyuhkyuk
2026-03-09 21:37:57 +08:00
parent 054e7c71e7
commit f758fa36e3
@@ -2,6 +2,7 @@
using HarmonyLib; using HarmonyLib;
using MegaCrit.Sts2.addons.mega_text; using MegaCrit.Sts2.addons.mega_text;
using MegaCrit.Sts2.Core.Helpers; using MegaCrit.Sts2.Core.Helpers;
using MegaCrit.Sts2.Core.Localization;
using MegaCrit.Sts2.Core.Multiplayer.Connection; using MegaCrit.Sts2.Core.Multiplayer.Connection;
using MegaCrit.Sts2.Core.Nodes.GodotExtensions; using MegaCrit.Sts2.Core.Nodes.GodotExtensions;
using MegaCrit.Sts2.Core.Nodes.Screens.MainMenu; using MegaCrit.Sts2.Core.Nodes.Screens.MainMenu;
@@ -112,7 +113,7 @@ namespace SlayTheSpire2.LAN.Multiplayer.Patchs
var joinButtonLabel = joinButton.GetNode<MegaLabel>("Label"); var joinButtonLabel = joinButton.GetNode<MegaLabel>("Label");
joinButtonLabel.SetTextAutoSize("Join"); joinButtonLabel.SetTextAutoSize(new LocString("main_menu_ui", "JOIN.title").GetFormattedText());
} }
} }
} }