diff --git a/code/modules/overmap/ships/controlled_ship_datum.dm b/code/modules/overmap/ships/controlled_ship_datum.dm index 1efa382c84a9..86093d01e252 100644 --- a/code/modules/overmap/ships/controlled_ship_datum.dm +++ b/code/modules/overmap/ships/controlled_ship_datum.dm @@ -119,8 +119,9 @@ QDEL_NULL(shipkey) QDEL_LIST(manifest) job_slots.Cut() - QDEL_NULL(owner_act) for(var/a_key in applications) + if(isnull(applications[a_key])) + continue // it handles removal itself qdel(applications[a_key]) LAZYCLEARLIST(applications)