re-enable dropping into mags

This commit is contained in:
Tyfon
2024-06-22 01:25:48 -07:00
parent e33a0c7bbf
commit 376999a472
2 changed files with 0 additions and 9 deletions

View File

@@ -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)

View File

@@ -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)