From 378766bcee3cad04256ada937f96b232aba85cf3 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Wed, 24 Jul 2024 09:40:06 -0400 Subject: TrackerLog usage --- src/game_data.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/game_data.cpp b/src/game_data.cpp index 39ea360..ec8d8f5 100644 --- a/src/game_data.cpp +++ b/src/game_data.cpp @@ -456,8 +456,8 @@ struct GameData { ids_config["panel_doors"][rooms_[room_id].name][panel_door_name] .as(); } else { - wxLogError("Missing AP item ID for panel door %s - %s", - rooms_[room_id].name, panel_door_name); + TrackerLog(fmt::format("Missing AP item ID for panel door {} - {}", + rooms_[room_id].name, panel_door_name)); } if (panel_door_it.second["panel_group"]) { @@ -469,8 +469,8 @@ struct GameData { panel_doors_[panel_door_id].group_ap_item_id = ids_config["panel_groups"][panel_group].as(); } else { - wxLogError("Missing AP item ID for panel door group %s", - panel_group); + TrackerLog(fmt::format( + "Missing AP item ID for panel door group {}", panel_group)); } } } -- cgit 1.4.1