Page MenuHomeFeedback Tracker

Gadget mode changes differently with right click and drag / action
Assigned, NormalPublic

Description

The Gadget mode changes differently when using right click or drag / pickup via action: (Starting with ON_GROUND )
Via right click:

IN_STORAGE -> ON_GROUND -> IN_STORAGE

Via Drag:

IN_STORAGE

The same thing (IN_STORAGE -> ON_GROUND -> IN_STORAGE) happens in SCR_GadgetManagerComponent::OnItemRemoved. There already is a comment in the code for this problem:

// TODO chck if this could create issues within modes (MODEX->GROUND->MODEX) when swapping slots inside inventory?

This breaks any logic that uses gadget modes sequences

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Steps To Reproduce
  1. Print the gadget mode in SCR_GadgetComponent::ModeSwitch
  2. See that right click and drag / action are different

Event Timeline

Geez changed the task status from New to Assigned.Sep 20 2022, 12:55 PM