From 8e2e1b52edcfb6083510d1ecbb99504c3fbed269 Mon Sep 17 00:00:00 2001 From: user Date: Tue, 15 Oct 2024 20:01:41 +0300 Subject: [PATCH] Fix: outer airlocks don't flick on landed ships, as they are not doors between vacuum and airtight rooms in this case. --- Source/1.5/Building/Building_ShipAirlock.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/1.5/Building/Building_ShipAirlock.cs b/Source/1.5/Building/Building_ShipAirlock.cs index 471c67eb..e160a0dd 100644 --- a/Source/1.5/Building/Building_ShipAirlock.cs +++ b/Source/1.5/Building/Building_ShipAirlock.cs @@ -193,7 +193,7 @@ public override void Tick() } } //Glow when opened - if (OpenPct > 0 && ticks % 16 == 0 && Outerdoor()) + if (this.Map.IsSpace() && OpenPct > 0 && ticks % 16 == 0 && Outerdoor()) Map.flecks.CreateFleck(FleckMaker.GetDataStatic(DrawPos, Map, FleckDefOf.LightningGlow, 3)); } public override IEnumerable GetGizmos()