Skip to content

Commit

Permalink
Merge pull request #38366 from jkraybill/36884b
Browse files Browse the repository at this point in the history
Fix Eat menu resetting after consuming food
  • Loading branch information
ZhilkinSerg authored Feb 26, 2020
2 parents 16c0db4 + 460a032 commit 2fd6f5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/game_inventory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ static item_location inv_internal( player &u, const inventory_selector_preset &p
if( has_init_filter ) {
inv_s.set_filter( init_filter );
has_init_filter = false;
inv_s.update( need_refresh );
}
// Set position after filter to keep cursor at the right position
if( init_selection ) {
Expand Down

0 comments on commit 2fd6f5f

Please sign in to comment.