Skip to content

Commit

Permalink
Ammo extended effects loading issue repair
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyBerube authored and kevingranade committed Oct 10, 2020
1 parent 64f581a commit 961d1d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/item_factory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1599,7 +1599,7 @@ void islot_ammo::load( const JsonObject &jo )
optional( jo, was_loaded, "recoil", recoil, 0 );
optional( jo, was_loaded, "count", def_charges, 1 );
optional( jo, was_loaded, "loudness", loudness, -1 );
optional( jo, was_loaded, "effects", ammo_effects );
assign( jo, "effects", ammo_effects );
optional( jo, was_loaded, "critical_multiplier", critical_multiplier, 2.0 );
optional( jo, was_loaded, "show_stats", force_stat_display, cata::nullopt );
}
Expand Down

0 comments on commit 961d1d5

Please sign in to comment.