mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Fixed two compile errors.
This commit is contained in:
@@ -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()
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user