This commit is contained in:
2026-02-27 14:56:42 +08:00
parent 07f5cfdbc1
commit 7a8fc9f487
4 changed files with 2 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

View File

@@ -23,12 +23,12 @@ namespace ArachnaeSwarm
{
if (Props.showFlightToggle && parent is Pawn pawn && pawn.Faction == RimWorld.Faction.OfPlayer)
{
yield return new Verse.Command_Toggle
yield return new Command_Toggle
{
defaultLabel = "Toggle Flight",
defaultDesc = "Toggle flight mode on or off.",
Order = 100f,
icon = Verse.ContentFinder<UnityEngine.Texture2D>.Get("StellarisDaughter/UI/Commands/SD_FlightToggle", false)
icon = ContentFinder<UnityEngine.Texture2D>.Get("ArachnaeSwarm/UI/Commands/ARA_FlightToggle", false)
?? RimWorld.TexCommand.GatherSpotActive,
isActive = () => flightEnabled,
toggleAction = () =>