Skip to content

Commit bc9898f

Browse files
pure-scumSadPencil
pure-scum
authored andcommitted
Fix incorrect user online private message string (CnCNet#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 CnCNet#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 a33d00b.
1 parent 2e24282 commit bc9898f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DXMainClient/DXGUI/Multiplayer/CnCNet/PrivateMessagingWindow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ private void ConnectionManager_UserAdded(object sender, UserEventArgs e)
314314

315315
if (pmUser != null)
316316
{
317-
joinMessage = new ChatMessage(string.Format("{0} is now offline.".L10N("Client:Main:PlayerOffline"), e.User.Name));
317+
joinMessage = new ChatMessage(string.Format("{0} is now online.".L10N("Client:Main:PlayerOnline"), e.User.Name));
318318
pmUser.Messages.Add(joinMessage);
319319
}
320320

0 commit comments

Comments
 (0)