diff --git a/src/advanced_inv_pane.cpp b/src/advanced_inv_pane.cpp index ded76c351ac05..42dd6fdbe10ad 100644 --- a/src/advanced_inv_pane.cpp +++ b/src/advanced_inv_pane.cpp @@ -82,7 +82,9 @@ void advanced_inventory_pane::load_settings( int saved_area_idx, sortby = static_cast( save_state->sort_idx ); index = save_state->selected_idx; filter = save_state->filter; - container = save_state->container; + if( area == AIM_CONTAINER ) { + container = save_state->container; + } container_base_loc = static_cast( save_state->container_base_loc ); }