mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-08 06:08:20 -05:00
maybe fix for an issue that should not exist
This commit is contained in:
parent
ca6d51d6bf
commit
c628cc8f55
@ -172,7 +172,10 @@ namespace SharedLibraryCore
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public List<EFClient> GetClientsAsList()
|
public List<EFClient> GetClientsAsList()
|
||||||
{
|
{
|
||||||
return Clients.FindAll(x => x != null && x.NetworkId != 0);
|
lock (Clients)
|
||||||
|
{
|
||||||
|
return Clients.FindAll(client => client is not null && client.NetworkId != 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user