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

Remove BuildingInfluence #18689

Merged
merged 8 commits into from
Oct 26, 2020
Merged

Conversation

pchote
Copy link
Member

@pchote pchote commented Oct 7, 2020

This PR implements my version of #15744, which this supersedes.

The remaining uses of BuildingInfluence appear to be completely redundant (e.g. crate spawning, adjacency checks), needlessly limiting (e.g. plug placement, which in theory should now work for upgrading mobile unit), or at worst (hopefully) not significantly faster than querying the ActorMap which also contains the buildings.

Depends on #18688.

According to previous discussions, this may in theory allow us to revert #13796 for simpler code, and may also solve #14676, but I have forgotten the context surrounding those so don't want to claim too much.

@pchote
Copy link
Member Author

pchote commented Oct 23, 2020

Rebased.

@pchote
Copy link
Member Author

pchote commented Oct 25, 2020

Fixed.

@Mailaender
Copy link
Member

Changelog

@pchote pchote deleted the remove-buildinginfluence branch December 6, 2020 12:09
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.

5 participants