diff --git a/src/item_factory.cpp b/src/item_factory.cpp index 6c45209abc8e2..8f15cf540965b 100644 --- a/src/item_factory.cpp +++ b/src/item_factory.cpp @@ -1601,7 +1601,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 ); }