Bug #28570
Inventory volume/mass limits can be bypassed by holding ALT with a stackable part
Status:
New
Severity:
Low
Assignee:
-
Category:
Controls and UI
Target version:
-
Start date:
10/26/2021
% Done:
0%
Language:
English (US)
Mod Related:
No
Votes:
Description
Steps to reproduce :
- Have a single stackable part in hand
- store it
- hold alt, click to unstore it
- while still holding alt, click again to store it
- a full stack is stored regardless of volume/mass limits
This happen because ModuleInventoryPart.Update()
only trigger a call to ModuleInventoryPart.PreviewLimits()
on ALT key up and down events, and when entering/exiting the slot.
Since neither of those happen in the above case, the limits aren't applied, and UIPartActionInventorySlot.ProcessClickWithHeldPart()
won't take them into account.