diff --git a/code/controllers/shuttle_controller.dm b/code/controllers/shuttle_controller.dm index cde9bccd20a..7a4dc5f533f 100644 --- a/code/controllers/shuttle_controller.dm +++ b/code/controllers/shuttle_controller.dm @@ -290,7 +290,8 @@ datum/shuttle_controller // Just before it leaves, close the damn doors! if(timeleft == 2 || timeleft == 1) - for(var/obj/machinery/door/D in end_location) + var/area/start_location = locate(/area/shuttle/escape/station) + for(var/obj/machinery/door/D in start_location) spawn(0) D.close() diff --git a/code/modules/mob/living/carbon/human/death.dm b/code/modules/mob/living/carbon/human/death.dm index 3d2b950a38d..b7f1acf08fc 100644 --- a/code/modules/mob/living/carbon/human/death.dm +++ b/code/modules/mob/living/carbon/human/death.dm @@ -15,7 +15,7 @@ if(istype(E, /datum/organ/external/chest)) continue // Only make the limb drop if it's not too damaged - if(prob(100 - E.damage)) + if(prob(100 - E.get_damage())) // Override the current limb status and don't cause an explosion E.droplimb(1,1) @@ -108,4 +108,4 @@ /mob/living/carbon/human/proc/Drain() ChangeToHusk() mutations |= NOCLONE - return \ No newline at end of file + return