Player count at panel

This commit is contained in:
VladMordock
2021-02-17 13:16:13 +01:00
parent 6edc2320cc
commit cc07eb8613
2 changed files with 6 additions and 5 deletions

View File

@@ -8,12 +8,13 @@ class CurrentMissionClass
public string Theatre = "";
public string Mission = "";
public string Pause = "";
public int PlayerCount = 0;
public string ToInfoString()
{
if (this.Mission != "")
{
return "Mission: " + this.Mission + "(" + this.Theatre + ") Pause:" + this.Pause;
return "Mission: " + this.Mission + "(" + this.Theatre + ") Pause:" + this.Pause + " Players: " + this.PlayerCount;
} else
{
return "Mission: Unknown";