From 7927d48d94d8a586f75d88e78dcbac34b40a88e5 Mon Sep 17 00:00:00 2001 From: Iajret Creature <122297233+AnArgonianLizardThatStealsPRs@users.noreply.github.com> Date: Sat, 18 Nov 2023 03:34:35 +0300 Subject: [PATCH] [MIRROR] Reimplements bitrunning hands [NO GBP] [MDB IGNORE] (#680) * Reimplements bitrunning hands [NO GBP] (#79810) --------- Co-authored-by: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com> --- code/modules/bitrunning/server/obj_generation.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/bitrunning/server/obj_generation.dm b/code/modules/bitrunning/server/obj_generation.dm index 9d5f8427c00..38fee74d4a8 100644 --- a/code/modules/bitrunning/server/obj_generation.dm +++ b/code/modules/bitrunning/server/obj_generation.dm @@ -10,7 +10,7 @@ possible_turfs.Remove(chosen_turf) chosen_turf = validate_turf(pick(possible_turfs)) if(isnull(chosen_turf)) - CRASH("vdom: after two attemps, could not find a valid turf for cache") + CRASH("vdom: after two attempts, could not find a valid turf for cache") new /obj/structure/closet/crate/secure/bitrunning/encrypted(chosen_turf) return TRUE @@ -40,7 +40,8 @@ if(istype(hat)) hat.set_armor(/datum/armor/none) - QDEL_LIST(avatar.held_items) + for(var/obj/thing in avatar.held_items) + qdel(thing) var/obj/item/storage/backpack/bag = avatar.back if(istype(bag))