[MIRROR] Duplicating statues sanity (#1028)

* Duplicating statues sanity (#54018)

* Duplicating statues sanity

Co-authored-by: AnturK <AnturK@users.noreply.github.com>
This commit is contained in:
SkyratBot
2020-09-29 00:18:11 +02:00
committed by GitHub
parent b5ad357f8d
commit 8e22b30dd6
+5 -1
View File
@@ -428,7 +428,11 @@
if(!is_viable_target(target))
to_chat(user,"You won't be able to carve that.")
return
current_target = target.appearance
if(istype(target,/obj/structure/statue/custom))
var/obj/structure/statue/custom/original = target
current_target = original.content_ma
else
current_target = target.appearance
var/mutable_appearance/ma = current_target
to_chat(user,"<span class='notice'>You decide to sculpt [src] into [ma.name].</span>",type=MESSAGE_TYPE_INFO)