mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
Fixes harddel causes for various things (#43989)
* hardddel stuff * mech stuff
This commit is contained in:
committed by
oranges
parent
85d93d5c4a
commit
b14ae1dcf6
@@ -29,6 +29,11 @@
|
||||
. = ..()
|
||||
recharging_turf = get_step(loc, dir)
|
||||
|
||||
/obj/machinery/mech_bay_recharge_port/Destroy()
|
||||
if (recharge_console && recharge_console.recharge_port == src)
|
||||
recharge_console.recharge_port = null
|
||||
return ..()
|
||||
|
||||
/obj/machinery/mech_bay_recharge_port/RefreshParts()
|
||||
var/MC
|
||||
for(var/obj/item/stock_parts/capacitor/C in component_parts)
|
||||
@@ -135,3 +140,8 @@
|
||||
/obj/machinery/computer/mech_bay_power_console/Initialize()
|
||||
. = ..()
|
||||
reconnect()
|
||||
|
||||
/obj/machinery/computer/mech_bay_power_console/Destroy()
|
||||
if (recharge_port && recharge_port.recharge_console == src)
|
||||
recharge_port.recharge_console = null
|
||||
return ..()
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
//This must be done first, so the mob ghosts correctly before DNA etc is nulled
|
||||
. = ..()
|
||||
|
||||
QDEL_LIST(hand_bodyparts)
|
||||
QDEL_LIST(internal_organs)
|
||||
QDEL_LIST(stomach_contents)
|
||||
QDEL_LIST(bodyparts)
|
||||
|
||||
@@ -35,6 +35,8 @@
|
||||
GLOBAL_LIST_INIT(spells, typesof(/obj/effect/proc_holder/spell)) //needed for the badmin verb for now
|
||||
|
||||
/obj/effect/proc_holder/Destroy()
|
||||
if (action)
|
||||
qdel(action)
|
||||
if(ranged_ability_user)
|
||||
remove_ranged_ability()
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user