arguments.

This commit is contained in:
SandPoot
2022-03-18 18:43:40 -03:00
parent 16fddbb140
commit 11daaadf79
+1 -1
View File
@@ -24,7 +24,7 @@
var/rotation_flags = ROTATION_ALTCLICK | ROTATION_CLOCKWISE | ROTATION_COUNTERCLOCKWISE | ROTATION_VERBS
AddComponent(/datum/component/simple_rotation, rotation_flags, null, CALLBACK(src, .proc/can_be_rotated))
/obj/structure/statue/proc/can_be_rotated()
/obj/structure/statue/proc/can_be_rotated(mob/user, rotation_type)
if(anchored)
to_chat(user, "<span class='warning'>[src] cannot be rotated while it is fastened to the floor!</span>")
return FALSE