Save replay if map abruptly changes

As it is right now, if the map abruptly changes (like when using the map command, or when redoing a level) the replay will not be saved, because usually the replay saving is done after the intermission, which is skipped with abrupt map changes.

This MR makes replays save on map change. To avoid a replay saving twice in cases without an abrupt map change (once for post intermission, and once for the map change), the demo.willsave flag is toggled off if a replay manages to save in any way (Before, the flag would only clear on map change).

Attached is a video demonstrating the change in action.

Closes: #316 (closed), #276 (closed) #242 (closed), part of #40

Edited by skirlez

Merge request reports

Loading
Loading