Skip to content

Commit

Permalink
[MIRROR] Re-adds Possess Object to Right-Click Context Menu (#2221) (#…
Browse files Browse the repository at this point in the history
…3094)

* Re-adds Possess Object to Right-Click Context Menu (#82912)

## About The Pull Request

Fixes #82882
## Why It's Good For The Game

Corrects nonintentional regression in expected behavior by re-adding
this verb back to the context menu.
## Changelog
:cl:
admin: Possess Object is now back in the right-click context menu.
/:cl:

* Re-adds Possess Object to Right-Click Context Menu

---------

Co-authored-by: NovaBot <[email protected]>
Co-authored-by: san7890 <[email protected]>
  • Loading branch information
3 people authored Apr 29, 2024
1 parent 90235bb commit 393d61f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/admin/verbs/possess.dm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

ADMIN_VERB(possess, R_POSSESS, "Possess Obj", "Possess an object.", ADMIN_CATEGORY_OBJECT, obj/target in world)
ADMIN_VERB_AND_CONTEXT_MENU(possess, R_POSSESS, "Possess Obj", "Possess an object.", ADMIN_CATEGORY_OBJECT, obj/target in world)
var/result = user.mob.AddComponent(/datum/component/object_possession, target)

if(isnull(result)) // trigger a safety movement just in case we yonk
Expand Down

0 comments on commit 393d61f

Please sign in to comment.