Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a total player count to the MP browser. #14610

Merged
merged 1 commit into from
Jan 1, 2018

Conversation

pchote
Copy link
Member

@pchote pchote commented Dec 31, 2017

A final bit of polish/functionality for the MP server browser:

screen shot 2017-12-31 at 16 58 48

Closes #13283.

@pchote pchote added this to the Next release milestone Dec 31, 2017
var playersLabel = widget.GetOrNull<LabelWidget>("PLAYER_COUNT");
if (playersLabel != null)
{
var playersText = new CachedTransform<int, string>(c => c.ToString() + " Players Online");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: This will yield 1 Players Online if c is 1.

Please change this to either:

  • Player(s) Online, or
  • ternary Player vs Players

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. Fixed.

@reaperrr reaperrr merged commit 3353215 into OpenRA:bleed Jan 1, 2018
@pchote pchote deleted the mp-playercount branch April 28, 2018 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants