Vanilla-Expanded / VanillaExpandedFramework

Vanilla Expanded Framework for RimWorld
Other
69 stars 34 forks source link

Automatically re-select flying pawns (AbilityPawnFlyer) #89

Closed SokyranTheDragon closed 5 months ago

SokyranTheDragon commented 5 months ago

In vanilla, whenever a pawn is flying/jumping they are automatically re-selected when they get despawned and their flyer gets spawned.

Those changes should bring this behaviour to all flyers using AbilityPawnFlyer. Changes made to achieve this:

Please note, some of the mods that are already using AbilityPawnFlyer may need to be recompiled. This is due to their base.SpawnSetup call potentially calling PawnFlyer.SpawnSetup instead of AbilityPawnFlyer.SpawnSetup. This affects Vanilla Factions Expanded - Pirates and potentially other mods.