mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user