Skip to content

Commit

Permalink
Fixed gamehub advertising problem (2KB response limit) & migrated rou…
Browse files Browse the repository at this point in the history
…nd state notifications
  • Loading branch information
k3yw committed Jan 7, 2024
1 parent 87b6fe4 commit 56b2a3d
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions Robust.Server/ServerStatus/StatusHost.Handlers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,26 +92,6 @@ private async Task<bool> HandleStatus(IStatusHandlerContext context)
["players"] = _playerManager.PlayerCount
};

try
{
var test = _playerManager.GetAllPlayerData().ToArray().Select(a => a.UserId.UserId).ToList();
if (test != null)
{
var tags = new JsonArray();
foreach (var tag in test)
{
tags.Add(tag);
}
jObject["online"] = tags;
}
}
catch (Exception e)
{
System.Console.WriteLine(e);
}



var tagsCache = _serverTagsCache;
if (tagsCache != null)
{
Expand Down

0 comments on commit 56b2a3d

Please sign in to comment.