From 91856b5ce423bbe0663898c2be4f588dc8bdad31 Mon Sep 17 00:00:00 2001 From: Erika Fox <94164348+Bjarl@users.noreply.github.com> Date: Tue, 24 Sep 2024 00:53:08 -0400 Subject: [PATCH] Update twohanded.dm --- code/datums/components/twohanded.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/datums/components/twohanded.dm b/code/datums/components/twohanded.dm index da3b06615592..8b38e544700a 100644 --- a/code/datums/components/twohanded.dm +++ b/code/datums/components/twohanded.dm @@ -148,7 +148,7 @@ if(SEND_SIGNAL(parent, COMSIG_TWOHANDED_WIELD, user) & COMPONENT_TWOHANDED_BLOCK_WIELD) return // blocked wield from item wielded = TRUE - ADD_TRAIT(parent, TRAIT_WIELDED, src) + ADD_TRAIT(parent, TRAIT_WIELDED, REF(src)) RegisterSignal(user, COMSIG_MOB_SWAP_HANDS, PROC_REF(on_swap_hands)) // update item stats and name @@ -192,7 +192,7 @@ // wield update status wielded = FALSE - REMOVE_TRAIT(parent, TRAIT_WIELDED, src) + REMOVE_TRAIT(parent, TRAIT_WIELDED, REF(src)) UnregisterSignal(user, COMSIG_MOB_SWAP_HANDS) SEND_SIGNAL(parent, COMSIG_TWOHANDED_UNWIELD, user)