fix BB bank withdraw conditions

This commit is contained in:
Martin Michelsen
2023-11-29 18:45:30 -08:00
parent ba8917e50d
commit 3d2d96eb7e
5 changed files with 9 additions and 21 deletions
+1 -1
View File
@@ -215,7 +215,7 @@ TeamIndex::Reward::Reward(uint32_t menu_item_id, const JSON& def_json)
} catch (const out_of_range&) {
}
try {
this->reward_item = ItemData::from_data(def_json.get_string("RewardItem"));
this->reward_item = ItemData::from_data(parse_data_string(def_json.get_string("RewardItem")));
} catch (const out_of_range&) {
}
}