Medical Treatment - Notify restart requirement (#10197)

Add restart notification for convert items setting
This commit is contained in:
johnb432 2024-08-12 18:59:48 +02:00 committed by GitHub
parent 72f230a3a2
commit cf3a86ffc7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -86,7 +86,9 @@
[LSTRING(ConvertItems_DisplayName), LSTRING(ConvertItems_Description)],
[ELSTRING(medical,Category), LSTRING(SubCategory_Treatment)],
[[0, 1, 2], [ELSTRING(common,Enabled), LSTRING(ConvertItems_RemoveOnly), ELSTRING(common,Disabled)], 0],
true
1,
{[QGVAR(convertItems), _this] call EFUNC(common,cbaSettings_settingChanged)},
true // Needs mission restart
] call CBA_fnc_addSetting;
[