Project

General

Profile

Bug #28570

Inventory volume/mass limits can be bypassed by holding ALT with a stackable part

Added by gotmachine about 3 years ago.

Status:
New
Severity:
Low
Assignee:
-
Category:
Controls and UI
Target version:
-
Start date:
10/26/2021
% Done:

0%

Version:
Platform:
Linux, OSX, Windows
Expansion:
Core Game
Language:
English (US)
Mod Related:
No
Votes:
Arrow u r green
Arrow d r red

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.

Also available in: Atom PDF