From 41a48d18864f28ce4e0faa951be2b3771cf6b910 Mon Sep 17 00:00:00 2001 From: SmArtKar <44720187+SmArtKar@users.noreply.github.com> Date: Sat, 17 May 2025 08:08:40 +0200 Subject: [PATCH] Fixes mech bounty runtimes (#91180) ## About The Pull Request Didn't check the parent call which made all sorts of things be typecast into mech diagnostics which then runtimed. ## Changelog :cl: fix: Fixed mech bounty runtimes /:cl: --- code/modules/cargo/bounties/mecha.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/cargo/bounties/mecha.dm b/code/modules/cargo/bounties/mecha.dm index fc211810d4a..12f9a165ecd 100644 --- a/code/modules/cargo/bounties/mecha.dm +++ b/code/modules/cargo/bounties/mecha.dm @@ -9,6 +9,9 @@ /datum/bounty/item/mech/applies_to(obj/shipped) . = ..() + if(!.) + return + if(istype(shipped, /obj/vehicle/sealed/mecha)) shipped.balloon_alert_to_viewers("make diagnostic from inside!")