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

Rework Settings #437

Merged
merged 3 commits into from
Aug 6, 2016
Merged

Rework Settings #437

merged 3 commits into from
Aug 6, 2016

Conversation

PabstMirror
Copy link
Contributor

@PabstMirror PabstMirror commented Jul 16, 2016

From discussion acemod/ACE3#4024 (comment)

For global settings, if the setting is forced by mission and not by server, then the mission setting will be used..

Adds called events CBA_beforeSettingsInitialized and CBA_settingsInitialized
Adds listen event CBA_settings_setSettingMission

These will allow reading of modules for ace, which should allow us to keep backwards compatibility.
The basic flow would be at CBA_beforeSettingsInitialized we could read settings from modules and set them as mission settings.

For global settings priority would be

  • Server Forced
  • Mission Forced
  • Server

@commy2
Copy link
Contributor

commy2 commented Aug 6, 2016

Is this done?

@PabstMirror PabstMirror removed the WIP label Aug 6, 2016
@PabstMirror
Copy link
Contributor Author

Should be good to go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants