From c35b9b8076fb988df587ef63293900c02f02506b Mon Sep 17 00:00:00 2001 From: Anuken Date: Mon, 21 Apr 2025 19:40:20 -0400 Subject: [PATCH] Fixed campaign sector info not saving on exit --- core/src/mindustry/core/Control.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/mindustry/core/Control.java b/core/src/mindustry/core/Control.java index ac274c820c..eb69d4e904 100644 --- a/core/src/mindustry/core/Control.java +++ b/core/src/mindustry/core/Control.java @@ -533,6 +533,7 @@ public class Control implements ApplicationListener, Loadable{ if(saves != null && saves.getCurrent() != null && saves.getCurrent().isAutosave() && !net.client() && !state.isMenu() && !state.gameOver){ try{ SaveIO.save(control.saves.getCurrent().file); + settings.forceSave(); Log.info("Saved on exit."); }catch(Throwable t){ Log.err(t);