Harddel Fix Pack #42 + Better Live Reftracking Support (#63877)

* Hard Del Fixes, Ref Tracking Changes
This commit is contained in:
LemonInTheDark
2022-01-12 22:46:13 +01:00
committed by GitHub
parent f3f7720d7e
commit f8aad14ae8
109 changed files with 865 additions and 733 deletions
+5
View File
@@ -13,6 +13,11 @@
var/obj/item/assembly_holder/bombassembly = null //The first part of the bomb is an assembly holder, holding an igniter+some device
var/obj/item/tank/bombtank = null //the second part of the bomb is a plasma tank
/obj/item/onetankbomb/Destroy()
bombassembly = null
bombtank = null
return ..()
/obj/item/onetankbomb/IsSpecialAssembly()
return TRUE
+12
View File
@@ -19,6 +19,18 @@
var/static/rotation_flags = ROTATION_ALTCLICK | ROTATION_CLOCKWISE | ROTATION_COUNTERCLOCKWISE | ROTATION_FLIP | ROTATION_VERBS
AddComponent(/datum/component/simple_rotation, rotation_flags)
/obj/item/assembly_holder/Destroy()
QDEL_NULL(a_left)
QDEL_NULL(a_right)
return ..()
/obj/item/assembly_holder/Exited(atom/movable/gone, direction)
. = ..()
if(gone == a_left)
a_left = null
else if(gone == a_right)
a_right = null
/obj/item/assembly_holder/IsAssemblyHolder()
return TRUE