public virtual void UnboardAll() { if (storage.Count(x => x is Pawn) <= 0) { return; } foreach (Thing thing in storage.Where(x => x is Pawn).ToList()) { Pawn crew = (Pawn)thing; if (crew == null) { continue; } crew.holder = null; crew.jobs?.StopAll(); Thing dummy; storage.TryDrop(crew, Position, ThingPlaceMode.Near, out dummy); // storage.TryDropAll(Position, ThingPlaceMode.Near); } }