From 376999a47293ce01cc212a037ac0c4dec516cc99 Mon Sep 17 00:00:00 2001 From: Tyfon <29051038+tyfon7@users.noreply.github.com> Date: Sat, 22 Jun 2024 01:25:48 -0700 Subject: [PATCH] re-enable dropping into mags --- MultiSelect.cs | 2 -- Patches/MultiSelectPatches.cs | 7 ------- 2 files changed, 9 deletions(-) diff --git a/MultiSelect.cs b/MultiSelect.cs index 38a0fb8..31c8d6e 100644 --- a/MultiSelect.cs +++ b/MultiSelect.cs @@ -348,8 +348,6 @@ namespace UIFixes } } - public override bool SplitAvailable => false; - // used by ItemUiContext.QuickFindAppropriatePlace, the one that picks a container, i.e. ctrl-click // ItemContextClass (drag) defaults to None, but we want what the underlying item allows public override bool CanQuickMoveTo(ETargetContainer targetContainer) diff --git a/Patches/MultiSelectPatches.cs b/Patches/MultiSelectPatches.cs index ef4bd33..83d8ea4 100644 --- a/Patches/MultiSelectPatches.cs +++ b/Patches/MultiSelectPatches.cs @@ -454,13 +454,6 @@ namespace UIFixes return false; } - // BSG BUG - if the targetItem is a magazine, and the multiselect is bullets, it will NOT be able to rollback correctly!! - // To prevent inventory corruption, reject magazines outright. Sorry, no multiple bullet stacks into one magazine - if (targetItemContext != null && targetItemContext.Item is MagazineClass) - { - return false; - } - Item item = itemContext.Item; ItemAddress itemAddress = itemContext.ItemAddress; if (itemAddress == null)