Another Stupid Runtime (#22680)

Why is this stupid var set as a machinery when it can be literally any
/obj/? I hate this stupid runtime error.
This commit is contained in:
VMSolidus
2026-06-13 20:53:43 +00:00
committed by GitHub
parent 0c7ab8baa7
commit ed788deddd
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -54,7 +54,7 @@
QDEL_NULL(ability_master)
QDEL_NULL(zone_sel)
if (length(machine?.climbers))
if (istype(machine, /obj/structure) && length(machine.climbers))
machine.climbers -= src
machine = null