From 62a6cb15260131bedf4955e882ed2a3daa0e48b9 Mon Sep 17 00:00:00 2001 From: TheEmber Date: Wed, 19 Jul 2023 01:28:40 +0300 Subject: [PATCH] Fixed possible null reference --- .../Shuttles/Systems/ShuttleSystem.FasterThanLight.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Shuttles/Systems/ShuttleSystem.FasterThanLight.cs b/Content.Server/Shuttles/Systems/ShuttleSystem.FasterThanLight.cs index f2149a26b07..d878f6fa93f 100644 --- a/Content.Server/Shuttles/Systems/ShuttleSystem.FasterThanLight.cs +++ b/Content.Server/Shuttles/Systems/ShuttleSystem.FasterThanLight.cs @@ -304,8 +304,8 @@ private void UpdateHyperspace(float frameTime) if (shuttle != null) { _physics.SetLinearDamping(body, shuttle.LinearDamping); + _physics.SetAngularDamping(body, shuttle.AngularDamping); } - _physics.SetAngularDamping(body, shuttle.AngularDamping); } MapId mapId;