Remove unread private member (IDE0052)

This commit is contained in:
Matthias Mailänder
2022-09-10 19:45:39 +02:00
committed by Gustas
parent 43e0cca663
commit d3a8b07f05
14 changed files with 10 additions and 33 deletions

View File

@@ -1231,13 +1231,11 @@ namespace OpenRA.Mods.Common.Traits
class AssociateWithAirfieldActivity : Activity
{
readonly Actor self;
readonly Aircraft aircraft;
readonly int delay;
public AssociateWithAirfieldActivity(Actor self, int delay = 0)
{
this.self = self;
aircraft = self.Trait<Aircraft>();
IsInterruptible = false;
this.delay = delay;