diff --git a/code/game/objects/items.dm b/code/game/objects/items.dm index cf53900dd9d..b7a8499ae88 100644 --- a/code/game/objects/items.dm +++ b/code/game/objects/items.dm @@ -187,8 +187,13 @@ GLOBAL_DATUM_INIT(welding_sparks, /mutable_appearance, mutable_appearance('icons /obj/item/proc/alert_admins_on_destroy() SIGNAL_HANDLER var/turf/turf_loc = get_turf(src) - message_admins("[src] has been destroyed in [get_area(turf_loc)] at [ADMIN_COORDJMP(turf_loc)].") - log_game("[src] has been destroyed at ([turf_loc.x],[turf_loc.y],[turf_loc.z]) in the location [loc].") + if(turf_loc) + // guess it's actually just in nullspace. lol. lmao + message_admins("[src] has been destroyed in [get_area(turf_loc)] at [ADMIN_COORDJMP(turf_loc)].") + log_game("[src] has been destroyed at ([turf_loc.x],[turf_loc.y],[turf_loc.z]) in the location [loc].") + else + message_admins("[src] has been destroyed in nullspace.") + log_game("[src] has been destroyed in nullspace.") /obj/item/proc/check_allowed_items(atom/target, not_inside, target_self) if(((src in target) && !target_self) || (!isturf(target.loc) && !isturf(target) && not_inside))