Don't StartOnThreshold if the trait is disabled.
This commit is contained in:
committed by
abcdefg30
parent
0990caefd7
commit
3ec3eac160
@@ -59,7 +59,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
void INotifyAddedToWorld.AddedToWorld(Actor self)
|
||||
{
|
||||
if (!Info.StartOnThreshold)
|
||||
if (!Info.StartOnThreshold || IsTraitDisabled)
|
||||
return;
|
||||
|
||||
var safeTiles = 0;
|
||||
|
||||
Reference in New Issue
Block a user