Fix IDE0090

This commit is contained in:
RoosterDragon
2023-11-14 19:49:11 +00:00
committed by Gustas
parent cfde0d7867
commit b97d1a4c6c
35 changed files with 125 additions and 125 deletions

View File

@@ -63,8 +63,8 @@ namespace OpenRA.Mods.Common.Widgets.Logic
{
TranslationProvider.GetString(Slot), new List<SlotDropDownOption>
{
new SlotDropDownOption(open, "slot_open " + slot.PlayerReference, () => !slot.Closed && client == null),
new SlotDropDownOption(closed, "slot_close " + slot.PlayerReference, () => slot.Closed)
new(open, "slot_open " + slot.PlayerReference, () => !slot.Closed && client == null),
new(closed, "slot_close " + slot.PlayerReference, () => slot.Closed)
}
}
};
@@ -113,7 +113,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
var options = new List<DropDownOption>
{
new DropDownOption
new()
{
Title = "Kick",
OnClick = onClick