Fix IDE0074
This commit is contained in:
committed by
Pavel Penev
parent
cbd0583289
commit
bd2b3d9793
@@ -45,8 +45,7 @@ namespace OpenRA.Mods.Cnc.Activities
|
||||
|
||||
protected override void OnFirstRun(Actor self)
|
||||
{
|
||||
if (minefield == null)
|
||||
minefield = new List<CPos> { self.Location };
|
||||
minefield ??= new List<CPos> { self.Location };
|
||||
}
|
||||
|
||||
CPos? NextValidCell(Actor self)
|
||||
|
||||
Reference in New Issue
Block a user