Fix IDE0083
This commit is contained in:
committed by
Pavel Penev
parent
bd2b3d9793
commit
164abfdae1
@@ -413,7 +413,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
}
|
||||
|
||||
// Add takeoff activity if Aircraft trait is not paused and the actor should not land when idle.
|
||||
if (ForceLanding && !IsTraitPaused && !cruising && !(self.CurrentActivity is TakeOff))
|
||||
if (ForceLanding && !IsTraitPaused && !cruising && self.CurrentActivity is not TakeOff)
|
||||
{
|
||||
ForceLanding = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user