Skip to content

Commit

Permalink
Fix saving of log instead of map memory
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhilkinSerg authored Nov 23, 2019
1 parent 342f101 commit 283e3c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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" ) );
Expand Down

0 comments on commit 283e3c2

Please sign in to comment.