Merge pull request #4205 from MisterLayne/LostDroneCharger

Lost Drone Pod Charger
This commit is contained in:
Anewbe
2017-11-03 23:38:43 -05:00
committed by GitHub
2 changed files with 26 additions and 1 deletions
@@ -22,6 +22,8 @@
if(winner.len)
var/mob/observer/dead/D = winner[1]
create_occupant(D)
new /obj/machinery/recharge_station/ghost_pod_recharger(src.loc)
del(src)
return TRUE
else
return FALSE
@@ -29,7 +31,6 @@
// Override this to create whatever mob you need. Be sure to call ..() if you don't want it to make infinite mobs.
/obj/structure/ghost_pod/proc/create_occupant(var/mob/M)
used = TRUE
icon_state = icon_state_opened
return TRUE