Use faction keys for shell identity

This commit is contained in:
Meta Vens 2026-06-16 11:43:37 +01:00
commit 8ea97a08f8
11 changed files with 77 additions and 10 deletions

View file

@ -677,7 +677,7 @@ public class ActionGameManager : MonoBehaviour
{
return CurrentGalaxy?.FactionRelationships?
.Where(pair => pair.Key != null)
.OrderBy(pair => pair.Key.ID)
.OrderBy(pair => pair.Key.FactionKey ?? "", StringComparer.OrdinalIgnoreCase)
.Select(pair => new AetheriaRuntimeFactionRelationshipCommit
{
FactionKey = pair.Key.FactionKey ?? "",