mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 03:57:48 +01:00
Check access for removal of arts
This commit is contained in:
@@ -418,6 +418,9 @@
|
||||
update_appearance()
|
||||
|
||||
/obj/structure/sign/painting/proc/unframe_canvas(mob/living/user)
|
||||
if(!allowed(user))
|
||||
to_chat(user, "<span class='warning'>You're not comfortable removing this prestigious canvas!</span>")
|
||||
return
|
||||
if(current_canvas)
|
||||
current_canvas.forceMove(drop_location())
|
||||
current_canvas = null
|
||||
|
||||
Reference in New Issue
Block a user