]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
fix cryo bed dragging (#24125)
authorNemanja <98561806+EmoGarbage404@users.noreply.github.com>
Mon, 15 Jan 2024 22:40:18 +0000 (17:40 -0500)
committerGitHub <noreply@github.com>
Mon, 15 Jan 2024 22:40:18 +0000 (17:40 -0500)
Content.Shared/Containers/DragInsertContainerSystem.cs

index 6bba26504b819af59b0a35cb6fa3232c5fb97b15..b7f5eb500be3145fc4c5069705b4183dac743f48 100644 (file)
@@ -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)}");