Fixes #7809 - Makes /obj/effect/decal/cleanable anchored instead

This commit is contained in:
Kyep
2017-07-18 22:54:06 -07:00
parent 3cc20d1221
commit 84bdc87cb7
2 changed files with 2 additions and 1 deletions
@@ -2,6 +2,7 @@
var/list/random_icon_states = list()
var/noscoop = 0 //if it has this, don't let it be scooped up
var/noclear = 0 //if it has this, don't delete it when its' scooped up
anchored = 1
/obj/effect/decal/cleanable/proc/can_bloodcrawl_in()
return FALSE
@@ -196,7 +196,7 @@
choices += L
for(var/obj/O in oview(1,src))
if(Adjacent(O) && !O.anchored)
if(!istype(O, /obj/structure/spider/terrorweb) && !istype(O, /obj/structure/spider/cocoon) && !istype(O, /obj/structure/spider/spiderling/terror_spiderling) && !istype(O, /obj/effect))
if(!istype(O, /obj/structure/spider/terrorweb) && !istype(O, /obj/structure/spider/cocoon) && !istype(O, /obj/structure/spider/spiderling/terror_spiderling))
choices += O
if(choices.len)
cocoon_target = input(src,"What do you wish to cocoon?") in null|choices