Fixes belt being dropped (#19510)

This commit is contained in:
Cameron Lennox
2026-06-06 22:17:38 +02:00
committed by GitHub
parent 81baa161f2
commit 391d54c104
@@ -106,8 +106,6 @@ This saves us from having to call add_fingerprint() any time something is put in
if(slot_tie)
return 1
/obj/item/var/suitlink = 1 //makes belt items require a jumpsuit- set individual items to suitlink = 0 to allow wearing on belt slot without suit
/mob/living/carbon/human/u_equip(obj/W as obj)
if(!W) return 0
@@ -124,9 +122,6 @@ This saves us from having to call add_fingerprint() any time something is put in
drop_from_inventory(l_store)
if (wear_id)
drop_from_inventory(wear_id)
if (belt && belt.suitlink == 1)
worn_clothing -= belt
drop_from_inventory(belt)
worn_clothing -= w_uniform
w_uniform = null
update_inv_w_uniform()