Fix error on round restart when terminating spreaders (#20850)
This commit is contained in:
@@ -103,6 +103,7 @@ public sealed class SpreaderSystem : EntitySystem
|
|||||||
|
|
||||||
foreach (var neighbor in neighbors)
|
foreach (var neighbor in neighbors)
|
||||||
{
|
{
|
||||||
|
if (!TerminatingOrDeleted(neighbor))
|
||||||
EnsureComp<ActiveEdgeSpreaderComponent>(neighbor);
|
EnsureComp<ActiveEdgeSpreaderComponent>(neighbor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user