diff --git a/SlayTheSpire2.LAN.Multiplayer/Patchs/NJoinFriendScreenPatch.cs b/SlayTheSpire2.LAN.Multiplayer/Patchs/NJoinFriendScreenPatch.cs index b5d9c7a..abb7326 100644 --- a/SlayTheSpire2.LAN.Multiplayer/Patchs/NJoinFriendScreenPatch.cs +++ b/SlayTheSpire2.LAN.Multiplayer/Patchs/NJoinFriendScreenPatch.cs @@ -2,6 +2,7 @@ using HarmonyLib; using MegaCrit.Sts2.addons.mega_text; using MegaCrit.Sts2.Core.Helpers; +using MegaCrit.Sts2.Core.Localization; using MegaCrit.Sts2.Core.Multiplayer.Connection; using MegaCrit.Sts2.Core.Nodes.GodotExtensions; using MegaCrit.Sts2.Core.Nodes.Screens.MainMenu; @@ -112,7 +113,7 @@ namespace SlayTheSpire2.LAN.Multiplayer.Patchs var joinButtonLabel = joinButton.GetNode("Label"); - joinButtonLabel.SetTextAutoSize("Join"); + joinButtonLabel.SetTextAutoSize(new LocString("main_menu_ui", "JOIN.title").GetFormattedText()); } } }