mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-23 07:26:05 +00:00
* Fixes runtime when qdel'ing self-recharging guns with bayonets attached (#75406) ``` [00:29:34] Runtime in energy.dm, line 161: cannot read from list proc name: can shoot (/obj/item/gun/energy/can_shoot) src: the proto-kinetic accelerator (/obj/item/gun/energy/recharge/kinetic_accelerator) src.loc: the plating (81,77,2) (/turf/open/floor/plating) call stack: the proto-kinetic accelerator (/obj/item/gun/energy/recharge/kinetic_accelerator): can shoot() the proto-kinetic accelerator (/obj/item/gun/energy/recharge/kinetic_accelerator): update overlays(16777215) the proto-kinetic accelerator (/obj/item/gun/energy/recharge/kinetic_accelerator): update icon(16777215) the proto-kinetic accelerator (/obj/item/gun/energy/recharge/kinetic_accelerator): update appearance(16777215) the proto-kinetic accelerator (/obj/item/gun/energy/recharge/kinetic_accelerator): clear bayonet() the proto-kinetic accelerator (/obj/item/gun/energy/recharge/kinetic_accelerator): handle atom del(the survival knife (/obj/item/knife/combat/survival)) the proto-kinetic accelerator (/obj/item/gun/energy/recharge/kinetic_accelerator): handle atom del(the survival knife (/obj/item/knife/combat/survival)) the survival knife (/obj/item/knife/combat/survival): Destroy(0) the survival knife (/obj/item/knife/combat/survival): Destroy(0) the survival knife (/obj/item/knife/combat/survival): Destroy(0) ... the proto-kinetic accelerator (/obj/item/gun/energy/recharge/kinetic_accelerator): deconstruct(0) the proto-kinetic accelerator (/obj/item/gun/energy/recharge/kinetic_accelerator): atom destruction("melee") the proto-kinetic accelerator (/obj/item/gun/energy/recharge/kinetic_accelerator): blob act(the normal blob (/obj/structure/blob/normal)) the normal blob (/obj/structure/blob/normal): ConsumeTile() the normal blob (/obj/structure/blob/normal): Be Pulsed() the blobola (/obj/structure/blob/special/core): pulse area(the blobola overmind (/mob/camera/blob), 12, 4, 3) Objects (/datum/controller/subsystem/processing/obj): fire(1) Objects (/datum/controller/subsystem/processing/obj): ignite(1) Master (/datum/controller/master): Loop(2) Master (/datum/controller/master): StartProcessing(0) ``` 🆑 ShizCalev fix: Fixed a runtime which occured when a self-recharging gun (ie proto-kinetic accelerator) with a bayonet attached was deleted. /🆑 * Fixes runtime when qdel'ing self-recharging guns with bayonets attached * Update microfusion_gun_attachments.dm --------- Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com> Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>