mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
* Hard Del Fixes, Ref Tracking Changes
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user