Skip to content

Commit

Permalink
Medical Treatment - Notify restart requirement (acemod#10197)
Browse files Browse the repository at this point in the history
Add restart notification for convert items setting
  • Loading branch information
johnb432 authored and blake8090 committed Aug 18, 2024
1 parent a364c0d commit c328ac2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion addons/medical_treatment/initSettings.inc.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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;

[
Expand Down

0 comments on commit c328ac2

Please sign in to comment.