]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Add comment into jetpack system, to prevent future grid jetpack PRs (#30682)
authorEd <96445749+TheShuEd@users.noreply.github.com>
Tue, 6 Aug 2024 10:51:59 +0000 (13:51 +0300)
committerGitHub <noreply@github.com>
Tue, 6 Aug 2024 10:51:59 +0000 (20:51 +1000)
Update SharedJetpackSystem.cs

Content.Shared/Movement/Systems/SharedJetpackSystem.cs

index 276aa620324e27c02ed896ccc9d5f10e25870970..548594c01f7ec960bf8f2e2efc3f237fe335a5c7 100644 (file)
@@ -125,6 +125,8 @@ public abstract class SharedJetpackSystem : EntitySystem
 
     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<GravityComponent>(gridUid));
     }