Vehicles (#7336)
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
using Content.Shared.ActionBlocker;
|
||||
using Content.Shared.Buckle.Components;
|
||||
using Content.Shared.Vehicle.Components;
|
||||
using Robust.Client.GameObjects;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.IoC;
|
||||
|
||||
namespace Content.Client.Buckle
|
||||
{
|
||||
@@ -42,6 +41,11 @@ namespace Content.Client.Buckle
|
||||
return;
|
||||
}
|
||||
|
||||
if (!_entMan.TryGetComponent(Owner, out RiderComponent? rider))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (_buckled && buckle.DrawDepth.HasValue)
|
||||
{
|
||||
_originalDrawDepth ??= ownerSprite.DrawDepth;
|
||||
|
||||
Reference in New Issue
Block a user