Remove an unnecessary variable assignment

The info is already set with the same name in the constructor
This commit is contained in:
abcdefg30
2023-10-30 16:28:30 +01:00
committed by Gustas
parent ed3ca78667
commit 61c3c252ea

View File

@@ -100,8 +100,6 @@ namespace OpenRA.Mods.Common.Traits
var aircraft = new List<Actor>();
var units = new List<Actor>();
var info = Info as ParatroopersPowerInfo;
if (!facing.HasValue)
facing = new WAngle(1024 * self.World.SharedRandom.Next(info.QuantizedFacings) / info.QuantizedFacings);