Some tweaks

This commit is contained in:
Sardelka
2022-07-09 19:32:11 +08:00
parent dca3420071
commit 1bc274e2d0
7 changed files with 55 additions and 42 deletions

View File

@ -155,9 +155,9 @@ namespace RageCoop.Server.Scripting
/// Get a list of all Clients
/// </summary>
/// <returns>All clients as a dictionary indexed by NetID</returns>
public Dictionary<long, Client> GetAllClients()
public Dictionary<string, Client> GetAllClients()
{
return new(Server.Clients);
return new(Server.ClientsByName);
}
/// <summary>