Fix IDE0090
This commit is contained in:
committed by
Pavel Penev
parent
164abfdae1
commit
8a285f9b19
@@ -20,14 +20,14 @@ namespace OpenRA.Network
|
||||
{
|
||||
public class Session
|
||||
{
|
||||
public List<Client> Clients = new List<Client>();
|
||||
public List<Client> Clients = new();
|
||||
|
||||
// Keyed by the PlayerReference id that the slot corresponds to
|
||||
public Dictionary<string, Slot> Slots = new Dictionary<string, Slot>();
|
||||
public Dictionary<string, Slot> Slots = new();
|
||||
|
||||
public HashSet<int> DisabledSpawnPoints = new HashSet<int>();
|
||||
public HashSet<int> DisabledSpawnPoints = new();
|
||||
|
||||
public Global GlobalSettings = new Global();
|
||||
public Global GlobalSettings = new();
|
||||
|
||||
public static string AnonymizeIP(IPAddress ip)
|
||||
{
|
||||
@@ -221,7 +221,7 @@ namespace OpenRA.Network
|
||||
public int NetFrameInterval = 3;
|
||||
|
||||
[FieldLoader.Ignore]
|
||||
public Dictionary<string, LobbyOptionState> LobbyOptions = new Dictionary<string, LobbyOptionState>();
|
||||
public Dictionary<string, LobbyOptionState> LobbyOptions = new();
|
||||
|
||||
public static Global Deserialize(MiniYaml data)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user