Fix syncing bombchuUpgradeLevel (#6071)
This commit is contained in:
@@ -107,11 +107,13 @@ inline void from_json(const json& j, SohStats& sohStats) {
|
||||
inline void to_json(json& j, const ShipRandomizerSaveContextData& shipRandomizerSaveContextData) {
|
||||
j = json{
|
||||
{ "triforcePiecesCollected", shipRandomizerSaveContextData.triforcePiecesCollected },
|
||||
{ "bombchuUpgradeLevel", shipRandomizerSaveContextData.bombchuUpgradeLevel },
|
||||
};
|
||||
}
|
||||
|
||||
inline void from_json(const json& j, ShipRandomizerSaveContextData& shipRandomizerSaveContextData) {
|
||||
j.at("triforcePiecesCollected").get_to(shipRandomizerSaveContextData.triforcePiecesCollected);
|
||||
j.at("bombchuUpgradeLevel").get_to(shipRandomizerSaveContextData.bombchuUpgradeLevel);
|
||||
}
|
||||
|
||||
inline void to_json(json& j, const ShipQuestSpecificSaveContextData& shipQuestSpecificSaveContextData) {
|
||||
|
||||
Reference in New Issue
Block a user