mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 12:04:48 +01:00
fix failed give message appearing on success (#18894)
This commit is contained in:
@@ -170,6 +170,7 @@
|
||||
to_chat(giver, "<span class='warning'>[I] stays stuck to your hand when [receiver] tries to take it!</span>")
|
||||
to_chat(receiver, "<span class='warning'>[I] stays stuck to [giver]'s hand when you try to take it!</span>")
|
||||
return
|
||||
UnregisterSignal(I, list(COMSIG_ITEM_EQUIPPED, COMSIG_ITEM_DROPPED)) // We don't want these triggering `cancel_give` at this point, since the give is successful.
|
||||
giver.unEquip(I)
|
||||
receiver.put_in_hands(I)
|
||||
I.add_fingerprint(receiver)
|
||||
|
||||
Reference in New Issue
Block a user