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

Fix an alliance bug with revealing civilians #5092

Merged
merged 1 commit into from
Jun 20, 2023

Conversation

Garanas
Copy link
Member

@Garanas Garanas commented Jun 17, 2023

Intel triggers are relatively expensive. We previously used an intel trigger to reveal civilians, which was adjusted with #4697. Instead of using an intel trigger we would wait at most a (few) seconds we'd set the alliance to provide vision, wait a few ticks, and reset the alliance. The reset would override the alliance a map script defined. And this happens on for example the map Tower Defense Survival.

With this pull request we leave the alliance for what it is and instead we put a vision marker on every unit of a civilian army.

@Garanas Garanas added this to the Development iteration II milestone Jun 17, 2023
@Garanas Garanas merged commit 7a044eb into deploy/fafdevelop Jun 20, 2023
@Garanas Garanas deleted the fix/civilian-alliance branch June 20, 2023 06:22
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.

1 participant