mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 14:23:44 -07:00
Combined RecalculateAvailableChecks guard clauses.
This commit is contained in:
parent
356439d1e2
commit
5c5b164bf1
1 changed files with 1 additions and 4 deletions
|
@ -1985,10 +1985,7 @@ void ImGuiDrawTwoColorPickerSection(const char* text, const char* cvarMainName,
|
|||
}
|
||||
|
||||
void RecalculateAvailableChecks(RandomizerRegion startingRegion /* = RR_ROOT */) {
|
||||
if (!enableAvailableChecks) {
|
||||
return;
|
||||
}
|
||||
if (!GameInteractor::IsSaveLoaded(true)) {
|
||||
if (!enableAvailableChecks || !GameInteractor::IsSaveLoaded(true)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue