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