Fix hud editor preset changes not persisting. Closes #337 (#338)

This commit is contained in:
Garrett Cox
2024-05-22 09:05:04 -05:00
parent 527bd0bd93
commit efe04c3d41
+1
View File
@@ -101,6 +101,7 @@ void HudEditorWindow::DrawElement() {
break;
}
}
Ship::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesOnNextTick();
}
for (int i = HUD_EDITOR_ELEMENT_B; i < HUD_EDITOR_ELEMENT_MAX; i++) {