Remove conditional from prototype ow btn

This commit is contained in:
scawful
2023-10-17 17:08:50 -04:00
parent 5b686318cd
commit 78bcd13b54

View File

@@ -470,10 +470,8 @@ absl::Status OverworldEditor::DrawExperimentalModal() {
}); });
if (ImGui::Button("Load Prototype Overworld with ROM graphics")) { if (ImGui::Button("Load Prototype Overworld with ROM graphics")) {
if (rom()->isLoaded() && !all_gfx_loaded_) { RETURN_IF_ERROR(LoadGraphics())
RETURN_IF_ERROR(LoadGraphics()) all_gfx_loaded_ = true;
all_gfx_loaded_ = true;
}
} }
gui::TextWithSeparators("Configuration"); gui::TextWithSeparators("Configuration");