In a mod that doesn't extend ModBase, these two lines of code successfully create a mod setting in 1.4 but not in 1.5.
var modSettings = HugsLibController.SettingsManager.GetModSettings("foo", "bar");
var floatSettingHandle = modSettings.GetHandle<float>("FloatSetting", "Float setting", "description");
More specifically the issue is that the button to open this mod's settings doesn't appear in rimworld's mod setting menu. The handle is succesfully created and saved values are loaded, but they can't be change since the mod setting UI can't be opened.
In a mod that doesn't extend
ModBase
, these two lines of code successfully create a mod setting in 1.4 but not in 1.5.More specifically the issue is that the button to open this mod's settings doesn't appear in rimworld's mod setting menu. The handle is succesfully created and saved values are loaded, but they can't be change since the mod setting UI can't be opened.