ChronosWS / asma

Ark Server Manager: Ascended
46 stars 4 forks source link

BUG: Removing an override doesn't remove the setting from INI files #28

Closed ChronosWS closed 9 months ago

ChronosWS commented 9 months ago

If the server has been run at least once with a setting and then the setting override is removed, the setting will remain in the INI file. Instead we should remove any setting from the INI when:

  1. We know about it from config metadata
  2. It does NOT have an override for that server

We should leave all settings we do not know about alone, in case the user has manually edited the file.

ChronosWS commented 9 months ago

Fixed in 17923e92085cd7826b0c0bebad992ced8c22d769