From e3526835e853e6337ba625588a47ca5dfd0d9895 Mon Sep 17 00:00:00 2001 From: SmArtKar <44720187+SmArtKar@users.noreply.github.com> Date: Tue, 8 Apr 2025 16:29:43 +0200 Subject: [PATCH] Fixes orbiting runtimes caused by mind transfers (#90470) ## About The Pull Request Orbiting component typechecked a knowingly null parent, which errored and caused two runtimes for the price of one when you tried to transfer a mob's mind while it had orbiters. ## Changelog :cl: fix: Fixed mind transfers not transferring mob's observers to mind's new mob. /:cl: --- code/datums/components/orbiter.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/components/orbiter.dm b/code/datums/components/orbiter.dm index 74a59301e73..72d7aeb9163 100644 --- a/code/datums/components/orbiter.dm +++ b/code/datums/components/orbiter.dm @@ -57,7 +57,7 @@ newcomp.orbiter_list = null /datum/component/orbiter/PostTransfer(datum/new_parent) - if(!isatom(parent) || isarea(new_parent) || !get_turf(new_parent)) + if(!isatom(new_parent) || isarea(new_parent) || !get_turf(new_parent)) return COMPONENT_INCOMPATIBLE move_react(new_parent)