Skip to content

Commit

Permalink
Merge pull request #3636 from OverDriveZ/fixing-my-mistakes-III
Browse files Browse the repository at this point in the history
fixing my mistakes III - iteration I [ready to merge]
  • Loading branch information
Tk420634 authored Oct 29, 2023
2 parents bf41a27 + aef5f83 commit 36ea074
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/game/objects/objs_set_vars_verbs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ GLOBAL_LIST_INIT(obj_vars_allowed_to_modify, list(
"Layer" = 3))


/mob/verb/objs_edit_vars(atom/A as obj in view(1))
/mob/living/verb/objs_edit_vars(atom/A as obj in view(1))
set name = "Edit Vars (Shift, Rotate, Layer)."
set category = "Object"

//Blacklist of stuff that isn't allowed to be modified, such as trees
if( istype(A, /obj/structure/flora) || \
istype(A, /obj/machinery/door/poddoor/shutters))
istype(A, /obj/machinery/door/poddoor))

to_chat(src, span_danger("You can't move that!"))
return
Expand Down

0 comments on commit 36ea074

Please sign in to comment.