mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
@@ -188,8 +188,8 @@
|
|||||||
//Standard robots use config for crit, which is somewhat excessive for these guys.
|
//Standard robots use config for crit, which is somewhat excessive for these guys.
|
||||||
//Drones killed by damage will gib.
|
//Drones killed by damage will gib.
|
||||||
/mob/living/silicon/robot/drone/handle_regular_status_updates()
|
/mob/living/silicon/robot/drone/handle_regular_status_updates()
|
||||||
|
var/turf/T = get_turf(src)
|
||||||
if((health <= -35 || (master_fabricator && src.z != master_fabricator.z)) && src.stat != 2)
|
if((!T || health <= -35 || (master_fabricator && T.z != master_fabricator.z)) && src.stat != DEAD)
|
||||||
timeofdeath = world.time
|
timeofdeath = world.time
|
||||||
death() //Possibly redundant, having trouble making death() cooperate.
|
death() //Possibly redundant, having trouble making death() cooperate.
|
||||||
gib()
|
gib()
|
||||||
|
|||||||
Reference in New Issue
Block a user