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

Don't export MetadataStart/End with any modules #283

Conversation

charliefoxtwo
Copy link
Member

MetadataStart and End are explicitly run before and after the main module exports, respectively. This is part of what bios guarantees - that MetadataStart will always come first, and MetadataEnd will always come last.

As these exports are explicitly run in Protocol.lua for that reason, we don't want to export them with the standard module export code.

I actually didn't notice this issue until I saw that the generated AircraftAliases.json changed.

MetadataStart and End are explicitly run before and after the main module exports, respectively. This is part of what bios guarantees - that MetadataStart will _always_ come first, and MetadataEnd will _always_ come last.

As these exports are explicitly run in Protocol.lua for that reason, we don't want to export them with the standard module export code.
@jdahlblom jdahlblom merged commit 9deb1d1 into DCS-Skunkworks:master Sep 30, 2023
2 checks passed
@charliefoxtwo charliefoxtwo deleted the bugfix/metadata-start-end-modules branch September 30, 2023 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants