From 1c4d30ec55765fda9bf526891fffc20d11c29cf6 Mon Sep 17 00:00:00 2001 From: SmArtKar <44720187+SmArtKar@users.noreply.github.com> Date: Sat, 23 Nov 2024 13:34:16 +0300 Subject: [PATCH] [NO GBP] Fixes a rare runtime in jetpack component code (#88097) ## About The Pull Request shrug ## Changelog :cl: fix: Fixed a rare runtime in jetpack component code /:cl: --- code/datums/components/jetpack.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/components/jetpack.dm b/code/datums/components/jetpack.dm index fd49aa2b67b..0a52d2250be 100644 --- a/code/datums/components/jetpack.dm +++ b/code/datums/components/jetpack.dm @@ -167,7 +167,7 @@ if (get_dir(source, backup) == movement_dir || source.loc == backup.loc) return - if (!source.client.intended_direction || (source.client.intended_direction & get_dir(source, backup))) + if (!source.client?.intended_direction || (source.client.intended_direction & get_dir(source, backup))) return if (!should_trigger(source) || !check_on_move.Invoke(FALSE))