Fixed Player Start labels not being updated with repeat map generations (bug #20036)

This commit is contained in:
Wedge009 2015-10-27 20:55:02 +11:00
parent a50d90b8d8
commit 50fecf8cc7
2 changed files with 3 additions and 0 deletions

View file

@ -9,6 +9,8 @@ Version 1.12.4+dev:
* Add Recent Files menu with a list of recently saved or loaded maps or
scenarios, up to a custom limit (by default 10) that can be set in
Advanced Preferences.
* Fixed Player Start labels not being updated with repeat map generations
(bug #20036)
* Language and i18n:
* Updated translations: French, Hungarian, Japanese, Latvian
* Fixed crashes during start-up on Windows resulting from add-ons containing

View file

@ -705,6 +705,7 @@ void context_manager::generate_map_dialog()
} else {
editor_map new_map(game_config_, map_string);
editor_action_whole_map a(new_map);
get_map_context().set_needs_labels_reset(); // Ensure Player Start labels are updated together with newly generated map
perform_refresh(a);
}
}