Currently SaveSettings will update settings on disc, but not the settings in memory, while UpdateSettings will update the settings but not save them.
This means, when working with settings programmatically, you need to call both to ensure later calls to GetSettings return the ones saved - which is extra work for developer users.
So instead, if we SaveSettings, let's ensure we also UpdateSettings at the same time. However, keep UpdateSettings as is, to allow for people to update their in-memory settings without overwriting the saved settings for on-the-fly setting operations.
Currently
SaveSettings
will update settings on disc, but not the settings in memory, whileUpdateSettings
will update the settings but not save them.This means, when working with settings programmatically, you need to call both to ensure later calls to
GetSettings
return the ones saved - which is extra work for developer users.So instead, if we
SaveSettings
, let's ensure we alsoUpdateSettings
at the same time. However, keepUpdateSettings
as is, to allow for people to update their in-memory settings without overwriting the saved settings for on-the-fly setting operations.