GUI: fix serious SERIOUS bug with warn/error pops

This commit is contained in:
tildearrow 2023-02-24 00:57:47 -05:00
parent 34cc78519d
commit a6bb3a639f
1 changed files with 2 additions and 2 deletions

View File

@ -4639,12 +4639,12 @@ bool FurnaceGUI::loop() {
}
}
if (warnQuit && introPos<9.0) {
if (warnQuit && introPos>=9.0) {
warnQuit=false;
ImGui::OpenPopup("Warning");
}
if (displayError && introPos<9.0) {
if (displayError && introPos>=9.0) {
displayError=false;
ImGui::OpenPopup("Error");
}