[MIRROR] Fix Loadout items not properly initializing their own metadata on copy (#12545)

Co-authored-by: ARGUS <268038739+ARGUS-Memory@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-03-17 20:47:20 +01:00
committed by GitHub
co-authored by ARGUS
parent 16bca9fbcc
commit da272eadf5
@@ -228,7 +228,10 @@ GLOBAL_LIST_EMPTY_TYPED(gear_datums, /datum/gear)
if(confirm != "Yes")
return TOPIC_HANDLED
pref.gear_list["[copy_to]"] = check_list_copy(active_gear_list)
var/list/slot_copy = check_list_copy(active_gear_list)
for(var/gear_name in slot_copy)
slot_copy[gear_name] = check_list_copy(slot_copy[gear_name])
pref.gear_list["[copy_to]"] = slot_copy
return TOPIC_REFRESH
if("toggle_gear")