Skip to content

Commit

Permalink
Fix incorrect user online private message string (CnCNet#506)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
pure-scum authored and SadPencil committed Oct 4, 2024
1 parent 2e24282 commit bc9898f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit bc9898f

Please sign in to comment.