mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Maint drones now return to the drone manufacturer when shutdown (#23367)
* luv me some drones * uhhh WIP * ..() moment * Gaxeer review & misc change * henri review * tgui * boom, i think * oops * sirryan review * final stuff * lmaooo * Apply suggestions from code review Co-authored-by: Deniz <66401072+Oyu07@users.noreply.github.com> --------- Co-authored-by: Deniz <66401072+Oyu07@users.noreply.github.com>
This commit is contained in:
@@ -106,5 +106,9 @@
|
||||
qdel(mob_to_delete)
|
||||
|
||||
/proc/dust_if_respawnable(mob/M)
|
||||
if(isdrone(M))
|
||||
var/mob/living/silicon/robot/drone/drone = M
|
||||
drone.shut_down(TRUE)
|
||||
return
|
||||
if(HAS_TRAIT_FROM(M, TRAIT_RESPAWNABLE, GHOST_ROLE))
|
||||
M.dust()
|
||||
|
||||
Reference in New Issue
Block a user