mirror of
https://github.com/DaKerboul/perun.git
synced 2026-08-09 17:05:39 +02:00
Player count at panel
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user