This commit is contained in:
Anuken
2025-11-17 14:00:12 -05:00
parent bb4534afde
commit 6b2825954b
2 changed files with 2 additions and 2 deletions

View File

@@ -403,7 +403,7 @@ public class MapEditorDialog extends Dialog implements Disposable{
infoDialog.show();
Core.app.post(() -> ui.showErrorMessage("@editor.save.noname"));
}else{
Map map = maps.all().find(m -> m.name().equals(name));
Map map = maps.all().find(m -> m.name().equalsIgnoreCase(name));
if(map != null && !map.custom && !map.workshop){
handleSaveBuiltin(map);
}else{

View File

@@ -64,7 +64,7 @@ public class EditorMapsDialog extends MapListDialog{
return;
}
Map conflict = maps.all().find(m -> m.name().equals(name));
Map conflict = maps.all().find(m -> m.name().equalsIgnoreCase(name));
if(conflict != null && !conflict.custom){
ui.showInfo(Core.bundle.format("editor.import.exists", name));