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:
soul 2026-11-29 01:11:10 +01:00
commit b57ad1d4db

View file

@ -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);