Fixes the captains medal being deleted when cryoing (#17667)

This commit is contained in:
Farie82
2022-04-29 13:08:13 +01:00
committed by GitHub
parent b000bd2a88
commit b4a83f650c
4 changed files with 16 additions and 10 deletions
@@ -702,9 +702,7 @@
if(!thief_mode)
usr.visible_message("<span class='danger'>\The [usr] takes \the [A] off of \the [src]'s [U]!</span>", \
"<span class='danger'>You take \the [A] off of \the [src]'s [U]!</span>")
A.on_removed(usr)
U.accessories -= A
update_inv_w_uniform()
U.detach_accessory(A, usr)
if(href_list["criminal"])
if(hasHUD(usr, EXAMINE_HUD_SECURITY_WRITE))