gen3vra / starcheat-patched-bin

Binary release builds of patched starcheat.
10 stars 0 forks source link

[BUG] Loading exported json file into the same character doesn't change anything #12

Open SilvanaDamikola opened 3 months ago

SilvanaDamikola commented 3 months ago

Describe the bug When importing an externally changed Player JSON file nothing happens

To Reproduce Steps to reproduce the behavior:

  1. Open Player file
  2. Export Player JSON via menu File->Export->Player JSON...
  3. Edit something in JSON file in an external text editor. For example in inventory:itemBags:materialBag: change the content of field "count" from say 9 to 10
  4. Import changed Player JSON file via menu File->Import->Player JSON...

Expected behavior The number of items of the material edited in step 3. should show as 10 but instead it still is 9.

Work around Import another Player JSON file, don't save!!!!, immediately afterwards load the Player JSON file in question. The content of the player inventory will change as expected.