ZoneGenerator: a lone childless root keeps its refusal; the shortfall seat needs something to orbit
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
c0229d4154
commit
b57ad1d4db
1 changed files with 1 additions and 1 deletions
|
|
@ -376,7 +376,7 @@ public static class ZoneGenerator
|
|||
}
|
||||
var seats = new[]
|
||||
{
|
||||
roots.Where(r => !r.Empty && !r.Children.Any(Massive)).ToList(),
|
||||
roots.Where(r => !r.Empty && !r.Children.Any(Massive) && (roots.Count > 1 || r.Children.Count > 0)).ToList(), // a lone childless root has nothing to orbit: the zone refuses
|
||||
roots.Where(r => r.Empty && r.Children.Any(Massive)).ToList(),
|
||||
roots.Where(r => !r.Empty && r.Children.Any(Massive)).ToList(),
|
||||
}.FirstOrDefault(kind => kind.Count > 0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue