diff --git a/src/savegame_json.cpp b/src/savegame_json.cpp index 20d96fafef625..698bda5ec8e26 100644 --- a/src/savegame_json.cpp +++ b/src/savegame_json.cpp @@ -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 summon_time_limit; @@ -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 ); }