From: Nemanja <98561806+EmoGarbage404@users.noreply.github.com> Date: Mon, 15 Jan 2024 22:40:18 +0000 (-0500) Subject: fix cryo bed dragging (#24125) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=e075a904217cd60722ef6dcbb9dd4b70b2f7822c;p=space-station-14.git fix cryo bed dragging (#24125) --- diff --git a/Content.Shared/Containers/DragInsertContainerSystem.cs b/Content.Shared/Containers/DragInsertContainerSystem.cs index 6bba26504b..b7f5eb500b 100644 --- a/Content.Shared/Containers/DragInsertContainerSystem.cs +++ b/Content.Shared/Containers/DragInsertContainerSystem.cs @@ -111,7 +111,7 @@ public sealed class DragInsertContainerSystem : EntitySystem public bool Insert(EntityUid target, EntityUid user, EntityUid containerEntity, BaseContainer container) { - if (!_container.Insert(user, container)) + if (!_container.Insert(target, container)) return false; _adminLog.Add(LogType.Action, LogImpact.Medium, $"{ToPrettyString(user):player} inserted {ToPrettyString(target):player} into container {ToPrettyString(containerEntity)}");