Confusified / LC-FramerateSlider

Where all the source code for FramerateSlider for Lethal Company is
https://thunderstore.io/c/lethal-company/p/Confusified/Framerate_Slider/
GNU General Public License v3.0
0 stars 0 forks source link

when disabling and then reenabling the mod, it doesn't properly set the config value #13

Closed Confusified closed 7 months ago

Confusified commented 7 months ago

Mod (please complete the following information):

Describe the bug When using the mod again after having it uninstalled/disabled, it won't properly set the slider value to the vanilla framerate

To Reproduce Steps to reproduce the behavior:

  1. Launch game with mod
  2. Launch game without mod
  3. Change the framerate cap to anything else
  4. Launch game again with mod
  5. See slider showing the incorrect value

Expected behavior The slider is set to the value that was used while the mod was disabled/uninstalled

Screenshots None

Additional context This bug occurs only when a config file already exists, as the game no longer thinks that it is the first time opening the mod. So it will not set the mod's framerate value correctly

Confusified commented 7 months ago

edits: rewrote this bug report to match the template, i will do this going forward