From b96ef8ee97024e5102296853cd048d18f19c291d Mon Sep 17 00:00:00 2001 From: pure-scum <157766398+pure-scum@users.noreply.github.com> Date: Thu, 15 Feb 2024 23:12:38 +1300 Subject: [PATCH] Fix incorrect user online private message string (#506) * Fix incorrect user online private message string Wrong message being displayed in private messages when user comes back online. * Add "search all maps" toggle to game lobby Based off @devo1929 #328. This PR adds a checkbox. Another PR will be made to cncnet-yr-client-package with the layout information. * Revert "Add "search all maps" toggle to game lobby" This reverts commit a33d00b6e42f36ee800f234a19cb0d1e26d80d5f. --- DXMainClient/DXGUI/Multiplayer/CnCNet/PrivateMessagingWindow.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DXMainClient/DXGUI/Multiplayer/CnCNet/PrivateMessagingWindow.cs b/DXMainClient/DXGUI/Multiplayer/CnCNet/PrivateMessagingWindow.cs index 5c460ce6f..e39b9f361 100644 --- a/DXMainClient/DXGUI/Multiplayer/CnCNet/PrivateMessagingWindow.cs +++ b/DXMainClient/DXGUI/Multiplayer/CnCNet/PrivateMessagingWindow.cs @@ -314,7 +314,7 @@ private void ConnectionManager_UserAdded(object sender, UserEventArgs e) if (pmUser != null) { - joinMessage = new ChatMessage(string.Format("{0} is now offline.".L10N("Client:Main:PlayerOffline"), e.User.Name)); + joinMessage = new ChatMessage(string.Format("{0} is now online.".L10N("Client:Main:PlayerOnline"), e.User.Name)); pmUser.Messages.Add(joinMessage); }