穿透弹

This commit is contained in:
2025-08-17 17:27:22 +08:00
parent 3f4d91fece
commit 8b394062fc
5 changed files with 80 additions and 48 deletions

View File

@@ -98,16 +98,6 @@ namespace WulaFallenEmpire
}
}
public override void PostDeSpawn(Map map, DestroyMode mode = DestroyMode.Vanish)
{
base.PostDeSpawn(map, mode);
// This handles cases like uninstalling where the pod is removed from the map
// without being "destroyed". We still need to eject the occupant.
Log.Warning($"[WulaPodDebug] Pod despawned. Ejecting pawn.");
EjectPawn();
}
// ===================== IThingHolder Implementation =====================
public void GetChildHolders(List<IThingHolder> outChildren)
{