This commit is contained in:
Walter0o
2014-07-31 10:43:51 +02:00
parent 7416d26197
commit eeb02dcfde
@@ -1104,12 +1104,12 @@
if (href_list["mod"])
var/obj/item/O = locate(href_list["mod"])
if (isytpe(O) && (O.loc == src))
if (istype(O) && (O.loc == src))
O.attack_self(src)
if (href_list["act"])
var/obj/item/O = locate(href_list["act"])
if (!isytpe(O) || !(O.loc == src || O.loc == src.module))
if (!istype(O) || !(O.loc == src || O.loc == src.module))
return
if(activated(O))