mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-18 09:35:48 +00:00
Rcon Changes
Rcon Window - minor changes to the player list, online player count and server status. Online Player Count - fixed the online player count to display the correct value.
This commit is contained in:
parent
7c43821691
commit
74bad02b94
13 changed files with 454 additions and 341 deletions
|
|
@ -310,8 +310,7 @@ namespace ServerManagerTool.Lib
|
|||
|
||||
try
|
||||
{
|
||||
var players = server?.GetPlayers()?.Where(p => !string.IsNullOrWhiteSpace(p.Name?.Trim()));
|
||||
onlinePlayerCount = players?.Count() ?? 0;
|
||||
onlinePlayerCount = serverInfo?.Players ?? 0;
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue