Senators Worldgen Fix (RWT)
A tiny safety-net patch for large modded RimWorld Together games.
A tiny safety-net patch for large modded RimWorld Together games.
THE PROBLEM
Vanilla Factions Expanded: Classical adds a "Senators" world component that postfixes faction-relation lookups (VFEC.Senators.WorldComponent_Senators.ForceAlly). During RimWorld Together world generation there is a window where the player faction does not exist yet. If a faction pawn rolls a unique weapon at that moment, resolving the weapon's lore asks for a faction-relation color, which calls RelationKindWith with a null faction — and VFE Classical's ForceAlly dereferences it, throwing a NullReferenceException that aborts faction generation and leaves the "Select Landing Site" page with no working button.
THE FIX
Applies a Harmony finalizer to ForceAlly that swallows ONLY that NullReferenceException, letting the real (vanilla) faction relation stand. Everything else propagates normally. VFE Classical and SimpleLeadership both keep working unchanged — this just stops the world-gen crash.
Only the player generating the RimWorld Together world strictly needs it, but it is safe for everyone.
Part of the Progression: Warzone collection.