Skip to content

Commit

Permalink
Fix terrain to furniture migration
Browse files Browse the repository at this point in the history
  • Loading branch information
HadeanLake committed Sep 5, 2024
1 parent 858f8bc commit a334ee9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/savegame_json.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4950,6 +4950,9 @@ void submap::load( const JsonValue &jv, const std::string &member_name, int vers
m->ter[i][j] = iid_ter;
if( iid_furn ) {
m->frn[i][j] = iid_furn;
if ( !remaining ) {
iid_furn = furn_str_id::NULL_ID().id();
}
}
}
}
Expand Down

0 comments on commit a334ee9

Please sign in to comment.