mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-13 00:55:20 +01:00
[MIRROR] Re-adds Possess Object to Right-Click Context Menu (#27498)
* 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 🆑 admin: Possess Object is now back in the right-click context menu. /🆑 * Re-adds Possess Object to Right-Click Context Menu --------- Co-authored-by: san7890 <the@san7890.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user