Fix another error on round restart when terminating spreaders (#23201)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -70,7 +70,8 @@ public sealed class SpreaderSystem : EntitySystem
|
|||||||
|
|
||||||
foreach (var neighbor in neighbors)
|
foreach (var neighbor in neighbors)
|
||||||
{
|
{
|
||||||
EnsureComp<ActiveEdgeSpreaderComponent>(neighbor);
|
if (!TerminatingOrDeleted(neighbor))
|
||||||
|
EnsureComp<ActiveEdgeSpreaderComponent>(neighbor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user