From 7fc0e0f50ae961efbe0cac1032b03a42d41d87d5 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 25 Nov 2023 14:09:38 -0500 Subject: Handle LEVEL 2 panel hunt being enabled globally now --- src/tracker_state.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/tracker_state.cpp') diff --git a/src/tracker_state.cpp b/src/tracker_state.cpp index 002f447..e02ee14 100644 --- a/src/tracker_state.cpp +++ b/src/tracker_state.cpp @@ -86,7 +86,8 @@ Decision IsPanelReachable_Helper(int panel_id, : kMaybe; } - if (panel_obj.name == "ANOTHER TRY" && AP_GetVictoryCondition() == kLEVEL_2) { + if ((panel_obj.name == "ANOTHER TRY" || panel_obj.name == "LEVEL 2") && + AP_GetLevel2Requirement() > 1) { int counting_panels_accessible = 0; for (int solved_panel_id : solveable_panels) { -- cgit 1.4.1