Skip to content

Commit

Permalink
Probably fix editor autosaves changing map name
Browse files Browse the repository at this point in the history
  • Loading branch information
buthed010203 committed Sep 5, 2024
1 parent b8e6abc commit 0d006fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/mindustry/editor/MapEditorDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ private void playtest(){
workshop = true;
}
returned = maps.saveMap(editor.tags);
if(autoSave >= 0) editor.tags.put("name", name); // Remove -autosave# from the map name after saving
if(workshop){
returned.workshop = workshop;
}
Expand Down

0 comments on commit 0d006fb

Please sign in to comment.