Skip to content

Commit

Permalink
Fix typo that caused unvisited json members (CleverRaven#35686)
Browse files Browse the repository at this point in the history
* Remove unvisited json members

* Revert "Remove unvisited json members"

This reverts commit c8642bc.

* fix typo
  • Loading branch information
Fris0uman authored and kevingranade committed Nov 24, 2019
1 parent f52728c commit 1a06c34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/field_type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ void field_type::load( JsonObject &jo, const std::string & )
optional( joe, was_loaded, "message", fe.message );
optional( joe, was_loaded, "message_npc", fe.message_npc );
const auto game_message_type_reader = enum_flags_reader<game_message_type> { "game message types" };
optional( jo, was_loaded, "message_type", fe.env_message_type, game_message_type_reader );
optional( joe, was_loaded, "message_type", fe.env_message_type, game_message_type_reader );
intensity_level.field_effects.emplace_back( fe );
}
} else {
Expand Down

0 comments on commit 1a06c34

Please sign in to comment.