Fix two handed items from bricking hands when a user changes species (#29573)

* create flag to skip species transform reequip

* add to bitfield and change to 1<<15
This commit is contained in:
Toastical
2025-06-19 18:00:39 +00:00
committed by GitHub
parent a8eef567fd
commit b1db0e3b8a
4 changed files with 5 additions and 1 deletions
@@ -1185,6 +1185,8 @@
for(var/thing in thing_to_check)
var/obj/item/I = get_item_by_slot(thing)
if(I)
if(I.flags & SKIP_TRANSFORM_REEQUIP)
continue
kept_items[I] = thing
item_flags[I] = I.flags
I.flags = 0 // Temporary set the flags to 0