Merge pull request #1994 from DrSmugleaf/buckle-made-saner

Add an entire nullable to buckle
This commit is contained in:
Víctor Aguilera Puerto
2020-09-02 00:34:06 +02:00
committed by GitHub
2 changed files with 1 additions and 2 deletions

View File

@@ -162,7 +162,7 @@ namespace Content.Server.GameObjects.Components.Buckle
}
}
private bool CanBuckle(IEntity user, IEntity to, [MaybeNullWhen(false)] out StrapComponent strap)
private bool CanBuckle(IEntity? user, IEntity to, [MaybeNullWhen(false)] out StrapComponent strap)
{
strap = null;

View File

@@ -7,7 +7,6 @@ using Content.Shared.Interfaces.GameObjects.Components;
using Content.Shared.Utility;
using Robust.Server.GameObjects;
using Robust.Shared.GameObjects;
using Robust.Shared.GameObjects.Systems;
using Robust.Shared.Interfaces.GameObjects;
using Robust.Shared.Localization;
using Robust.Shared.Serialization;