mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 22:33:43 -07:00
Rediscover entrances when enabling Available Checks.
This commit is contained in:
parent
cd9b6eee21
commit
713d34a12c
1 changed files with 7 additions and 0 deletions
|
@ -2126,6 +2126,13 @@ void CheckTrackerSettingsWindow::DrawElement() {
|
||||||
"with your current progress.")
|
"with your current progress.")
|
||||||
.Color(THEME_COLOR))) {
|
.Color(THEME_COLOR))) {
|
||||||
enableAvailableChecks = CVarGetInteger(CVAR_TRACKER_CHECK("EnableAvailableChecks"), 0);
|
enableAvailableChecks = CVarGetInteger(CVAR_TRACKER_CHECK("EnableAvailableChecks"), 0);
|
||||||
|
|
||||||
|
for (s16 entranceIndex = 0; entranceIndex < ENTR_MAX; entranceIndex++) {
|
||||||
|
if (IsEntranceDiscovered(entranceIndex)) {
|
||||||
|
Randomizer_EntranceDiscovered(entranceIndex, false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
RecalculateAvailableChecks();
|
RecalculateAvailableChecks();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue