diff --git a/src/game.cpp b/src/game.cpp index 5b2a1f0f68a48..da45d208e55db 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -2879,7 +2879,7 @@ bool game::save_player_data() JsonOut jsout( fout ); u.serialize_map_memory( jsout ); }, _( "player map memory" ) ); - const bool saved_log = write_to_file( playerfile + SAVE_EXTENSION_MAP_MEMORY, [&]( + const bool saved_log = write_to_file( playerfile + SAVE_EXTENSION_LOG, [&]( std::ostream & fout ) { fout << memorial().dump(); }, _( "player memorial" ) );