Skip to content

Commit

Permalink
Merge pull request #34199 from BevapDin/rls
Browse files Browse the repository at this point in the history
Enable serialization for mission::kill_count_to_reach
  • Loading branch information
ZhilkinSerg committed Sep 23, 2019
2 parents 94bdea5 + 8e1f44b commit e3f41b4
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 @@ -2693,6 +2693,7 @@ void mission::deserialize( JsonIn &jsin )
}

jo.read( "value", value );
jo.read( "kill_count_to_reach", kill_count_to_reach );
jo.read( "reward", reward );
jo.read( "uid", uid );
JsonArray ja = jo.get_array( "target" );
Expand Down Expand Up @@ -2751,6 +2752,7 @@ void mission::serialize( JsonOut &json ) const
json.member( "type_id", type->id );
json.member( "status", status_to_string( status ) );
json.member( "value", value );
json.member( "kill_count_to_reach", kill_count_to_reach );
json.member( "reward", reward );
json.member( "uid", uid );

Expand Down

0 comments on commit e3f41b4

Please sign in to comment.