mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 11:13:51 +00:00

With this it puts the player back to the title screen after showing an error dialog, so it's not much better, but at least it's not a crash. Fixes issue 7164. We weren't able to work out what caused the file corruption reported, but I believe it's a race condition about saving while the AI is recruiting. The file in the bug report has a `[snapshot]` tag with `init_side_done=yes` but without a `playing_team` attribute, which must be the result of `game_state::write()` when not in the `PLAY` phase. Loading such a file causes `game_state::start_event_fired_ == false`, and triggers `play_controller::start_game` to call `replay::add_start_if_not_there_yet`. The i18n'd string is reused from `game_launcher.cpp`.
This directory is where PR authors can add a file per PR containing the text that should be added to the main changelog.md during the release process for the next version. The format should match that of the main changelog as well as use an existing category defined there. For example, a file could contain:
### Terrain
* Change codes "Irs, Ias, Icr, Ior, and Icn" to "Isr, Isa, Isc, Iwo, and Iwc", respectively
The purpose of this is to make it easier to add changelog entries with a PR while avoiding merge conflicts in the main changelog file if someone ends up merging their PR before yours.
The contents of this directory (aside from this README file) will then be deleted after each release.