SuperMartijn642 / Wormhole

11 stars 4 forks source link

[Bug] Config not saving #32

Closed vizthex123 closed 1 year ago

vizthex123 commented 1 year ago

Version Info

Description of the Bug The config file doesn't save when changed

Steps to Reproduce 1) Edit the config 2) Reload the game

Screenshots N?A

Game log: latest.log

SuperMartijn642 commented 1 year ago

I cannot reproduce the issue. What entries in the config are you changing and to what values?

vizthex123 commented 1 year ago

I changed almost all of it, here's my config: wormhole-common.txt

Had to make it a text file for GitHub to accept it.

SuperMartijn642 commented 1 year ago

Thank you, the problem seems to be the spaces in the table names.

- [Power Consumption]
+ ["Power Consumption"]

This should already have been fixed in my config library version 1.1.4. It will regenerate the values of tables which had spaces in their name, after that you should be able to edit those values just fine. What version of my config library are you using?

vizthex123 commented 1 year ago

1.1.6, had this config since I downloaded the mod, so that might be why. Guess I can manually copy the changes over.

Edit: Tested it, didn't work. Gonna delete the config and see if that fixes it.

Edit 2: Fixed it, regenerated the config and re-did my changes. Gonna close the issue now.