mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-16 18:59:15 +07:00
Saving a map from the map editor screen no longer changes the screen
This commit is contained in:
@ -54,7 +54,8 @@ class MapEditorMenuPopup(mapEditorScreen: MapEditorScreen): Popup(mapEditorScree
|
||||
thread ( name = "SaveMap" ) {
|
||||
try {
|
||||
MapSaver.saveMap(mapEditorScreen.mapName, mapEditorScreen.tileMap)
|
||||
UncivGame.Current.setWorldScreen()
|
||||
close()
|
||||
ResponsePopup("Map saved", mapEditorScreen) // todo - add this text to translations
|
||||
} catch (ex: Exception) {
|
||||
ex.printStackTrace()
|
||||
Gdx.app.postRunnable {
|
||||
|
Reference in New Issue
Block a user