Search found 1 match
- Mon Jul 27, 2026 10:14 am
- Forum: Modding help
- Topic: Settings defaults for older versions
- Replies: 3
- Views: 449
Re: Settings defaults for older versions
I don't think migrations expose the previous mod version directly. A common approach is to check whether your global setting or data already exists, and only initialize it if it's `nil`. That way new installs get the default value of 5, while existing saves can keep or migrate to 10 without ...