-
I have just noticed that there are always 2 This may cause de-syncs (and confusion) between those 2 instances, and they seem to be used interchangeably (and seemingly randomly), meaning some stuff uses the player's config to check values, while some other stuff checks the other config. Unless there is a specific reason (which i would like to document), there should likely be only 1 As for the fixes i would propose would be to have a shared instance via a Note: with "at all times" i mean loaded from program beginning to end, not meaning temporary loads like loading a new config and validate it before using. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Because originally it's only one app. Then it's divided to server and client. It's best to separate the config into server.toml and tui.toml. However, there are some configuration that are needed for both. |
Beta Was this translation helpful? Give feedback.
-
Yes, it's a problem. Should be centralized. Basically configs are referenced quite a lot. Sometimes when one option need to change, it's cloned. After change, it'll be saved. It's not a good way. When config get bigger, it's hard to manage. |
Beta Was this translation helpful? Give feedback.
-
And there are more configs in TUI:-) |
Beta Was this translation helpful? Give feedback.
Yes, it's a problem. Should be centralized. Basically configs are referenced quite a lot. Sometimes when one option need to change, it's cloned. After change, it'll be saved. It's not a good way. When config get bigger, it's hard to manage.