Fixes the RCL sometimes deleting itself when use() checks are called. (#32026)

* destroy upon empty general stack check

* Update stack.dm
This commit is contained in:
CRUNCH
2026-06-02 00:07:28 +00:00
committed by GitHub
parent 42a76b8e09
commit 34acc9eab3
2 changed files with 5 additions and 4 deletions
-1
View File
@@ -28,7 +28,6 @@ GLOBAL_LIST_INIT(cable_coil_recipes, list (new/datum/stack_recipe/cable_restrain
usesound = 'sound/items/deconstruct.ogg'
/// Deletes the cable coil upon getting empty.
/// Used for RCL cable spools to stop the stack from being eaten.
var/destroy_upon_empty = TRUE
/// Type of cable this coil makes
var/cable_type = /obj/structure/cable
/// Bitflag of the types of cable we can add cable to with this coil.