mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 19:17:50 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user