1
0
Fork 0
mirror of https://github.com/Detanup01/gbe_fork.git synced 2025-06-07 09:45:55 +02:00

Merge pull request #153 from universal963/patch-genemuconf

Update json format for `default_items.json`
This commit is contained in:
Detanup01 2025-01-25 09:55:49 +01:00 committed by GitHub
commit 0e972d8c96
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1066,7 +1066,7 @@ def main():
else:
x[t] = str(i[t])
out_inventory[index] = x
default_items[index] = 1
default_items[index] = {"quantity": 1}
with open(os.path.join(emu_settings_dir, "items.json"), "wt", encoding='utf-8') as f:
json.dump(out_inventory, f, ensure_ascii=False, indent=2)