Skip to content

Commit

Permalink
fix resetting mission settings (#945)
Browse files Browse the repository at this point in the history
  • Loading branch information
commy2 committed Jun 30, 2018
1 parent 923f935 commit 5ee4fa4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion addons/settings/fnc_initDisplayGameOptions.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ if (is3DEN && {FILE_EXISTS(MISSION_SETTINGS_FILE)}) then {
private _setting = _x;

(GVAR(missionConfig) getVariable [_setting, []]) params ["_value", "_priority"];
[_setting, _value, _priority, "mission"] call FUNC(set);

if (!isNil "_value") then {
[_setting, _value, _priority, "mission"] call FUNC(set);
};
} forEach GVAR(allSettings);
};

Expand Down

0 comments on commit 5ee4fa4

Please sign in to comment.