Writing out music playlist was lost, probably in jhinrichs merge.
Fixes no music when loading non-turn-0 saves
This commit is contained in:
parent
38529f4236
commit
9a314a7738
1 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,7 @@
|
|||
#include "menu_events.hpp"
|
||||
#include "preferences_display.hpp"
|
||||
#include "replay.hpp"
|
||||
#include "sound.hpp"
|
||||
#include "unit_display.hpp"
|
||||
#include "unit_types.hpp"
|
||||
#include "wassert.hpp"
|
||||
|
@ -445,6 +446,8 @@ namespace events{
|
|||
start.add_child("terrain_graphics", **tg);
|
||||
}
|
||||
|
||||
sound::write_music_play_list(start);
|
||||
|
||||
write_game(gamestate_, start /*,WRITE_SNAPSHOT_ONLY*/);
|
||||
|
||||
// Clobber gold values to make sure the snapshot uses the values
|
||||
|
|
Loading…
Add table
Reference in a new issue