mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-10-02 11:10:50 +03:00
Fixed quitting editor not resetting data patches
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){
|
||||
|
||||
+1
-1
@@ -26,4 +26,4 @@ org.gradle.caching=true
|
||||
org.gradle.internal.http.socketTimeout=100000
|
||||
org.gradle.internal.http.connectionTimeout=100000
|
||||
android.enableR8.fullMode=false
|
||||
archash=abb6cc1a11
|
||||
archash=9a0fdcaadf
|
||||
|
||||
Reference in New Issue
Block a user