Skip to content

Commit

Permalink
Progression: Fix soundsets
Browse files Browse the repository at this point in the history
Was erroneously removed
  • Loading branch information
Lemon-King committed Aug 25, 2024
1 parent 2e663f5 commit b9eb6e7
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,18 @@ class PlayerSheetJSON {
}
}

HXDD_JsonObject objSoundSet = HXDD_JsonObject(jsonObject.get("sound_set"));
if (objSoundSet) {
Array<String> keys;
objSoundSet.GetKeysInto(keys);

for (let i = 0; i < keys.Size(); i++) {
String key = keys[i];
let value = FileJSON.GetString(objSoundSet, key);
self.soundSet.insert(key, value);
}
}

HXDD_JsonArray valInventory = HXDD_JsonArray(jsonObject.get("inventory"));
if (valInventory && valInventory.arr.Size() > 0) {
for (int i = 0; i < valInventory.arr.Size(); i++) {
Expand Down

0 comments on commit b9eb6e7

Please sign in to comment.