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

FA M3 Red Dawn: Fix bug with 1st mission completion due to external factories #420

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

maudlin27
Copy link
Contributor

Following FAF changes introducing external factory units, these get included as part of the objective to be destroyed, but the objective doesn't complete when the parent unit is destroyed (presumably the OnKilled callback doesnt trigger for the external factory when it is removed due to the parent dying) Fix is to just exclude external factories from the list of units added to the objective.

Following FAF changes introducing external factory units, these get included as part of the objective to be destroyed, but the objective doesn't complete when the parent unit is destroyed (presumably the OnKilled callback doesnt trigger for the external factory when it is removed due to the parent dying)
Fix is to just exclude external factories from the list of units added to the objective.
@maudlin27 maudlin27 changed the title Fix bug with 1st mission completion due to external factories FA M3 Red Dawn: Fix bug with 1st mission completion due to external factories Nov 4, 2023
@Garanas
Copy link
Member

Garanas commented Nov 4, 2023

I thought I fixed this, the callbacks should trigger with the latest hot fix

@Garanas Garanas merged commit c413c4f into FAForever:master Mar 14, 2024
@Garanas Garanas mentioned this pull request Mar 14, 2024
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