]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix grid inventory pick/drop rotation (#25510)
authorKrunklehorn <42424291+Krunklehorn@users.noreply.github.com>
Sun, 25 Feb 2024 23:24:21 +0000 (18:24 -0500)
committerGitHub <noreply@github.com>
Sun, 25 Feb 2024 23:24:21 +0000 (18:24 -0500)
OnPiecePressed

Content.Client/UserInterface/Systems/Storage/StorageUIController.cs

index c83a80b4a5eeca828d91a609d50d68307defaa16..5f3ae3a2daca39ef0139308d606ceedf8062defb 100644 (file)
@@ -233,6 +233,8 @@ public sealed class StorageUIController : UIController, IOnSystemChanged<Storage
 
         if (args.Function == ContentKeyFunctions.MoveStoredItem)
         {
+            DraggingRotation = control.Location.Rotation;
+
             _menuDragHelper.MouseDown(control);
             _menuDragHelper.Update(0f);