Remove unread private member (IDE0052)
This commit is contained in:
committed by
Gustas
parent
43e0cca663
commit
d3a8b07f05
@@ -49,15 +49,11 @@ namespace OpenRA.Mods.Common.Traits.Render
|
||||
|
||||
public class WithVoxelTurret : ConditionalTrait<WithVoxelTurretInfo>
|
||||
{
|
||||
readonly Actor self;
|
||||
readonly Turreted turreted;
|
||||
readonly BodyOrientation body;
|
||||
|
||||
public WithVoxelTurret(Actor self, WithVoxelTurretInfo info)
|
||||
: base(info)
|
||||
{
|
||||
this.self = self;
|
||||
body = self.Trait<BodyOrientation>();
|
||||
turreted = self.TraitsImplementing<Turreted>()
|
||||
.First(tt => tt.Name == Info.Turret);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user