re-enable dropping into mags
This commit is contained in:
@@ -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
|
// 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
|
// ItemContextClass (drag) defaults to None, but we want what the underlying item allows
|
||||||
public override bool CanQuickMoveTo(ETargetContainer targetContainer)
|
public override bool CanQuickMoveTo(ETargetContainer targetContainer)
|
||||||
|
|||||||
@@ -454,13 +454,6 @@ namespace UIFixes
|
|||||||
return false;
|
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;
|
Item item = itemContext.Item;
|
||||||
ItemAddress itemAddress = itemContext.ItemAddress;
|
ItemAddress itemAddress = itemContext.ItemAddress;
|
||||||
if (itemAddress == null)
|
if (itemAddress == null)
|
||||||
|
|||||||
Reference in New Issue
Block a user