diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-07-24 09:40:06 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-07-24 09:40:06 -0400 |
commit | 378766bcee3cad04256ada937f96b232aba85cf3 (patch) | |
tree | 808564e45560cf8ecf952b5a0924353183d037e9 | |
parent | 27dffe4c5d9e0d069d646b974a18dde108aa9f77 (diff) | |
download | lingo-ap-tracker-378766bcee3cad04256ada937f96b232aba85cf3.tar.gz lingo-ap-tracker-378766bcee3cad04256ada937f96b232aba85cf3.tar.bz2 lingo-ap-tracker-378766bcee3cad04256ada937f96b232aba85cf3.zip |
TrackerLog usage
-rw-r--r-- | src/game_data.cpp | 8 |
1 files 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 { | |||
456 | ids_config["panel_doors"][rooms_[room_id].name][panel_door_name] | 456 | ids_config["panel_doors"][rooms_[room_id].name][panel_door_name] |
457 | .as<int>(); | 457 | .as<int>(); |
458 | } else { | 458 | } else { |
459 | wxLogError("Missing AP item ID for panel door %s - %s", | 459 | TrackerLog(fmt::format("Missing AP item ID for panel door {} - {}", |
460 | rooms_[room_id].name, panel_door_name); | 460 | rooms_[room_id].name, panel_door_name)); |
461 | } | 461 | } |
462 | 462 | ||
463 | if (panel_door_it.second["panel_group"]) { | 463 | if (panel_door_it.second["panel_group"]) { |
@@ -469,8 +469,8 @@ struct GameData { | |||
469 | panel_doors_[panel_door_id].group_ap_item_id = | 469 | panel_doors_[panel_door_id].group_ap_item_id = |
470 | ids_config["panel_groups"][panel_group].as<int>(); | 470 | ids_config["panel_groups"][panel_group].as<int>(); |
471 | } else { | 471 | } else { |
472 | wxLogError("Missing AP item ID for panel door group %s", | 472 | TrackerLog(fmt::format( |
473 | panel_group); | 473 | "Missing AP item ID for panel door group {}", panel_group)); |
474 | } | 474 | } |
475 | } | 475 | } |
476 | } | 476 | } |