From c979f8388bfe445f07ae2c07883ca4c08f34aa82 Mon Sep 17 00:00:00 2001 From: MrMelbert <51863163+MrMelbert@users.noreply.github.com> Date: Fri, 20 Jun 2025 10:59:27 -0500 Subject: [PATCH] Fix shuttle blueprint runtime spam (#91718) ## About The Pull Request `shuttle_expand_check` asserts it must be passed a shuttle, but it doesn't pass it a shuttle. --- code/modules/shuttle/mobile_port/variants/custom/blueprints.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/shuttle/mobile_port/variants/custom/blueprints.dm b/code/modules/shuttle/mobile_port/variants/custom/blueprints.dm index 4ed4cecb4ff..2f3320792bf 100644 --- a/code/modules/shuttle/mobile_port/variants/custom/blueprints.dm +++ b/code/modules/shuttle/mobile_port/variants/custom/blueprints.dm @@ -372,7 +372,7 @@ data["idle"] = linked_shuttle.mode == SHUTTLE_IDLE if(on_shuttle_frame) data["size"] = length(frame.turfs) - length(frame.shuttle_covered_turfs) + linked_shuttle.turf_count - data["problems"] = shuttle_expand_check(current_turf) + data["problems"] = shuttle_expand_check(current_turf, linked_shuttle) return data /obj/item/shuttle_blueprints/proc/link_to_shuttle(obj/docking_port/mobile/custom/shuttle, is_master = FALSE)