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

Improve zeus auto-add XEH behaviour #3948

Merged
merged 1 commit into from
Jun 18, 2016
Merged

Improve zeus auto-add XEH behaviour #3948

merged 1 commit into from
Jun 18, 2016

Conversation

kymckay
Copy link
Member

@kymckay kymckay commented Jun 18, 2016

When merged this pull request will:

  • Add the InitPost XEH event to AllVehicles only if the autoAddObjects setting is enabled

The XEH InitPost event only needs to be added if the GVAR(autoAddObjects) setting is enabled. This change will save on overhead when the setting is disabled and also removes some complexity from the function that runs in response to the event.

The XEH InitPost event only needs to be added if the `GVAR(autoAddObjects)` setting is enabled. This change will save on overhead when the setting is disabled and also removes some complexity from the function that runs in response to the event.
@kymckay kymckay added this to the 3.6.0 milestone Jun 18, 2016
@kymckay kymckay added kind/enhancement Release Notes: **IMPROVED:** kind/optimization Release Notes: **IMPROVED:** labels Jun 18, 2016
@thojkooi
Copy link
Contributor

Very good improvement @SilentSpike

@thojkooi thojkooi merged commit c7bb1ee into master Jun 18, 2016
@thojkooi thojkooi deleted the zeusScriptedXEH branch June 18, 2016 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Release Notes: **IMPROVED:** kind/optimization Release Notes: **IMPROVED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants