From 2230dc026e2bfe34957723e064c3d8f9363f5181 Mon Sep 17 00:00:00 2001 From: Roudenn Date: Sat, 22 Feb 2025 19:13:30 +0300 Subject: [PATCH] Update SharedJetpackSystem.cs --- Content.Shared/Movement/Systems/SharedJetpackSystem.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Content.Shared/Movement/Systems/SharedJetpackSystem.cs b/Content.Shared/Movement/Systems/SharedJetpackSystem.cs index 548594c01f7..efaac087447 100644 --- a/Content.Shared/Movement/Systems/SharedJetpackSystem.cs +++ b/Content.Shared/Movement/Systems/SharedJetpackSystem.cs @@ -127,8 +127,12 @@ private bool CanEnableOnGrid(EntityUid? gridUid) { // No and no again! Do not attempt to activate the jetpack on a grid with gravity disabled. You will not be the first or the last to try this. // https://discord.com/channels/310555209753690112/310555209753690112/1270067921682694234 - return gridUid == null || - (!HasComp(gridUid)); + + // SHUT THE FUCK UP IM DOING THIS + if (gridUid == null) + return true; + + return !CompOrNull(gridUid.Value)?.Enabled ?? true; // backmen: jetpack in no gravity } private void OnJetpackGetAction(EntityUid uid, JetpackComponent component, GetItemActionsEvent args)