From fe4bd3d495bb4b4ca94a42bbc6ca7789aaa442f9 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Thu, 13 Feb 2025 07:35:20 -0800 Subject: [PATCH] fix print-item-tables --- src/Main.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Main.cc b/src/Main.cc index db56ae48..2660d0b0 100644 --- a/src/Main.cc +++ b/src/Main.cc @@ -2268,10 +2268,7 @@ Action a_print_level_stats( Action a_print_item_parameter_tables( "print-item-tables", nullptr, +[](phosg::Arguments& args) { auto s = make_shared(get_config_filename(args)); - s->load_patch_indexes(false); - s->load_text_index(false); - s->load_item_definitions(false); - s->load_item_name_indexes(false); + s->load_all(); for (Version v : ALL_VERSIONS) { const auto& index = s->item_name_index_opt(v); if (index) {