Del The World: Unit testing for hard deletes (#59612)

Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
This commit is contained in:
LemonInTheDark
2021-08-15 21:09:26 -07:00
committed by GitHub
parent 0304206af3
commit cd576ab519
91 changed files with 788 additions and 168 deletions
@@ -112,6 +112,9 @@
var/obj/machinery/computer/camera_advanced/base_construction/linked_console
/mob/camera/ai_eye/remote/base_construction/Initialize(mapload, obj/machinery/computer/camera_advanced/console_link)
if(!linked_console)
stack_trace("A base consturuction drone was created with no linked console")
return INITIALIZE_HINT_QDEL
linked_console = console_link
return ..()
@@ -5,7 +5,7 @@
/obj/structure/closet/secure_closet/freezer/Destroy()
recursive_organ_check(src)
..()
return ..()
/obj/structure/closet/secure_closet/freezer/Initialize()
. = ..()
@@ -40,7 +40,7 @@
/obj/machinery/deployable_turret/Destroy()
target = null
target_turf = null
..()
return ..()
/// Undeploying, for when you want to move your big dakka around
/obj/machinery/deployable_turret/wrench_act(mob/living/user, obj/item/wrench/used_wrench)
@@ -232,7 +232,7 @@
/obj/item/gun_control/Destroy()
turret = null
..()
return ..()
/obj/item/gun_control/CanItemAutoclick()
return TRUE
@@ -458,6 +458,10 @@ GLOBAL_DATUM(central_tram, /obj/structure/industrial_lift/tram/central)
SStramprocess.can_fire = TRUE
GLOB.central_tram = src
/obj/structure/industrial_lift/tram/central/Destroy()
GLOB.central_tram = null
return ..()
/obj/structure/industrial_lift/tram/LateInitialize()
. = ..()
find_our_location()
+3
View File
@@ -130,6 +130,9 @@
/obj/structure/trap/stun/hunter/flare()
..()
var/turf/our_turf = get_turf(src)
if(!our_turf)
return
stored_item.forceMove(get_turf(src))
forceMove(stored_item)
if(caught)