mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-10-02 03:00:29 +03:00
Merge branch 'master' of https://github.com/Anuken/Mindustry into array-textures
# Conflicts: # gradle.properties
This commit is contained in:
@@ -788,7 +788,11 @@ public class MapEditorDialog extends Dialog implements Disposable{
|
||||
}
|
||||
|
||||
private void tryExit(){
|
||||
ui.showConfirm("@confirm", "@editor.unsaved", this::hide);
|
||||
ui.showConfirm("@confirm", "@editor.unsaved", () -> {
|
||||
//clears data patches
|
||||
logic.reset();
|
||||
hide();
|
||||
});
|
||||
}
|
||||
|
||||
private void addBlockSelection(Table cont){
|
||||
|
||||
@@ -5,7 +5,7 @@ import arc.struct.*;
|
||||
@SuppressWarnings("deprecation")
|
||||
public class ClassMap{
|
||||
public static final ObjectMap<String, Class<?>> classes = new ObjectMap<>();
|
||||
|
||||
|
||||
static{
|
||||
classes.put("AssemblerAI", mindustry.ai.types.AssemblerAI.class);
|
||||
classes.put("BoostAI", mindustry.ai.types.BoostAI.class);
|
||||
|
||||
Reference in New Issue
Block a user