Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add param for settings that require mission restart #6512

Merged
merged 2 commits into from
Nov 2, 2018

Conversation

PabstMirror
Copy link
Contributor

Ref CBATeam/CBA_A3#894

Use the new cba_settings_init param to mark settings as requiring restart
For converted settings the logic is just any global setting
there are some global settings that can be changed mid-mission, and we could think about it when converting.

@PabstMirror PabstMirror added the kind/enhancement Release Notes: **IMPROVED:** label Aug 8, 2018
@PabstMirror PabstMirror added this to the 3.13.0 milestone Aug 8, 2018
true
true,
{[QGVAR(enabled), _this] call EFUNC(common,cbaSettings_settingChanged)},
true // Needs mission restart
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this comment looks quite weird in each file because other params are not commented

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TBH I would prefer the other true's to be commented too. But on the other end we cannot comment the same things over and over again everywhere.
Or better we probably shouldn't.

@PabstMirror PabstMirror merged commit 0104030 into master Nov 2, 2018
@PabstMirror PabstMirror deleted the cbaSettingNeedRestart branch November 2, 2018 17:59
@PabstMirror PabstMirror modified the milestones: 3.13.0, 3.12.4 Nov 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Release Notes: **IMPROVED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants