Fixes runtimes when using supplypod smite on ghosts and fixes supplypod-smite hotspot effects. (#38634)

* ez pz lemin squizi

* oooooooooh

* I DIDNT COMPILE MY CODE

* I DIDNT COMPILE MY CODE

* cyberboss i love u tho
This commit is contained in:
MrDoomBringer
2018-07-03 13:12:51 -04:00
committed by Jordan Brown
parent 659cd5d68e
commit 21beb6373f
2 changed files with 10 additions and 7 deletions
+3 -2
View File
@@ -1356,8 +1356,9 @@ GLOBAL_LIST_EMPTY(custom_outfits) //Admin created outfits
alert("ERROR: Incorrect / improper path given.")
return
//send the pod
target.Stun(10)//takes 0.53 seconds for CentCom pod to land
new /obj/effect/DPtarget(get_turf(target), delivery, POD_CENTCOM, target)
if(iscarbon(target))
target.Stun(10)//takes 0.53 seconds for CentCom pod to land
new /obj/effect/DPtarget(get_turf(target), delivery, POD_CENTCOM)
var/msg = "[key_name_admin(usr)] punished [key_name_admin(target)] with [punishment]."
message_admins(msg)