Reset game stats upon map save in editor

This commit is contained in:
Anuken
2025-10-20 00:42:18 -04:00
parent 16a01cbef3
commit 6b56566ae1
2 changed files with 4 additions and 0 deletions

View File

@@ -622,6 +622,7 @@ public class Mods implements Loadable{
}
/** Check all warnings related to content and show relevant dialogs. Client only. */
//TODO move to another class, Mods.java should not handle UI
private void checkWarnings(){
//show 'scripts have errored' info
if(scripts != null && scripts.hasErrored()){
@@ -679,6 +680,7 @@ public class Mods implements Loadable{
}
/** Assume mods in toCheck are missing dependencies. */
//TODO move to another class, Mods.java should not handle UI
private void checkDependencies(Seq<LoadedMod> toCheck, boolean soft){
new Dialog(""){{
setFillParent(true);
@@ -741,6 +743,7 @@ public class Mods implements Loadable{
});
}
//TODO move to another class, Mods.java should not handle UI
private void displayDependencyImportStatus(Seq<String> failed, Seq<String> success){
new Dialog(""){{
setFillParent(true);