Skip to content

Commit

Permalink
Merge pull request #73975 from Procyonae/Backport70938
Browse files Browse the repository at this point in the history
Backport #70938
  • Loading branch information
Maleclypse authored May 21, 2024
2 parents e8f7249 + 768b460 commit c7bc00d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/savegame_json.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2540,6 +2540,7 @@ void monster::load( const JsonObject &data )
data.read( "anger", anger );
data.read( "morale", morale );
data.read( "hallucination", hallucination );
data.read( "aggro_character", aggro_character );
data.read( "fish_population", fish_population );
//for older saves convert summon time limit to lifespan end
std::optional<time_duration> summon_time_limit;
Expand Down Expand Up @@ -2623,6 +2624,7 @@ void monster::store( JsonOut &json ) const
json.member( "anger", anger );
json.member( "morale", morale );
json.member( "hallucination", hallucination );
json.member( "aggro_character", aggro_character );
if( tied_item ) {
json.member( "tied_item", *tied_item );
}
Expand Down

0 comments on commit c7bc00d

Please sign in to comment.