Skip to content

Commit

Permalink
Unload zone properly clears auto whitelists (#77036)
Browse files Browse the repository at this point in the history
  • Loading branch information
RenechCDDA authored Oct 21, 2024
1 parent ec2416a commit 888e34a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/visitable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,10 @@ std::list<item> item::remove_items_with( const std::function<bool( const item &e
// but no way to determine where something got removed here
update_modified_pockets();

if( !res.empty() ) {
on_contents_changed();
}

return res;
}

Expand Down

0 comments on commit 888e34a

Please sign in to comment.