Adds proper containers for some locates (#2080)
This commit is contained in:
committed by
kevinz000
parent
49100c5dca
commit
bfcb068f21
@@ -158,7 +158,7 @@
|
||||
|
||||
else if (href_list["killdrone"])
|
||||
if(src.allowed(usr))
|
||||
var/mob/living/simple_animal/drone/D = locate(href_list["killdrone"])
|
||||
var/mob/living/simple_animal/drone/D = locate(href_list["killdrone"]) in GLOB.mob_list
|
||||
if(D.hacked)
|
||||
to_chat(usr, "<span class='danger'>ERROR: [D] is not responding to external commands.</span>")
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user