Fixed two compile errors.

This commit is contained in:
cib
2012-12-16 04:23:57 +01:00
parent 49958de6aa
commit cc2057240a
2 changed files with 4 additions and 3 deletions

View File

@@ -290,7 +290,8 @@ datum/shuttle_controller
// Just before it leaves, close the damn doors! // Just before it leaves, close the damn doors!
if(timeleft == 2 || timeleft == 1) 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) spawn(0)
D.close() D.close()

View File

@@ -15,7 +15,7 @@
if(istype(E, /datum/organ/external/chest)) if(istype(E, /datum/organ/external/chest))
continue continue
// Only make the limb drop if it's not too damaged // 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 // Override the current limb status and don't cause an explosion
E.droplimb(1,1) E.droplimb(1,1)
@@ -108,4 +108,4 @@
/mob/living/carbon/human/proc/Drain() /mob/living/carbon/human/proc/Drain()
ChangeToHusk() ChangeToHusk()
mutations |= NOCLONE mutations |= NOCLONE
return return