diff --git a/code/game/machinery/computer/crew.dm b/code/game/machinery/computer/crew.dm index 5f64261a6cf..de141a5c88c 100644 --- a/code/game/machinery/computer/crew.dm +++ b/code/game/machinery/computer/crew.dm @@ -74,6 +74,10 @@ if(istype(C.loc, /mob/living/carbon/human)) var/mob/living/carbon/human/H = C.loc + var/obj/item/ID = null + + if(H.wear_id) + ID = H.wear_id.GetID() var/dam1 = round(H.getOxyLoss(),1) var/dam2 = round(H.getToxLoss(),1) @@ -83,8 +87,8 @@ var/life_status = "[H.stat > 1 ? "Deceased" : "Living"]" var/damage_report = "([dam1]/[dam2]/[dam3]/[dam4])" - if(H.wear_id) - log += "[H.wear_id.name]" + if(ID) + log += "[ID.name]" else log += "Unknown"