Add an entire nullable to buckle

This commit is contained in:
DrSmugleaf
2020-09-01 21:49:32 +02:00
parent 9398f90e7c
commit 1186552629
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; strap = null;

View File

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