Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix consuming menu filter cleared after consuming an item #37538

Merged
merged 1 commit into from
Jan 30, 2020

Conversation

Qrox
Copy link
Contributor

@Qrox Qrox commented Jan 30, 2020

Summary

SUMMARY: Bugfixes "Fix consuming menu filter cleared after consuming an item"

Purpose of change

Keep the filter instead of clearing it each time an item is consumed.

Describe the solution

Store the filter in the consumption activity and restore it when the menu is re-created.

Testing

Set filter in consuming menu, consumed a few items, the filter was not cleared. Closed menu and opened it again, the filter was cleared.

@ZhilkinSerg ZhilkinSerg added [C++] Changes (can be) made in C++. Previously named `Code` Items: Food / Vitamins Comestibles and drinks Info / User Interface Game - player communication, menus, etc. Quality of Life QoL: degree to which players are comfortable, and able to enjoy CDDA labels Jan 30, 2020
@ZhilkinSerg ZhilkinSerg merged commit c943709 into CleverRaven:master Jan 30, 2020
@Qrox Qrox deleted the preserve-filter branch January 30, 2020 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C++] Changes (can be) made in C++. Previously named `Code` Info / User Interface Game - player communication, menus, etc. Items: Food / Vitamins Comestibles and drinks Quality of Life QoL: degree to which players are comfortable, and able to enjoy CDDA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants