Skip to content

faster core proximity updates#12184

Open
WMF-Industries wants to merge 4 commits into
Anuken:masterfrom
WMF-Industries:proximity
Open

faster core proximity updates#12184
WMF-Industries wants to merge 4 commits into
Anuken:masterfrom
WMF-Industries:proximity

Conversation

@WMF-Industries

@WMF-Industries WMF-Industries commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Removes the need to iterate all of the team's cores upon one updating its proximity
Should work just fine, I've tested all the cases that came to my mind (adding storage, removing storage, cores and storage dying, changing teams, etc)

If your pull request is not translation or serverlist-related, read the list of requirements below and check each box:

  • I have read the contribution guidelines.
  • I have ensured that my code compiles, if applicable.
  • I have ensured that any new features in this PR function correctly in-game, if applicable.

@Abdullah-Ajeebi Abdullah-Ajeebi left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested the following changes and the lag is little to none.

@WMF-Industries

Copy link
Copy Markdown
Contributor Author

found a few more edge cases that i have to fix before this can be merged

@WMF-Industries

WMF-Industries commented Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

i did quite a bit more testing, seems to be working correctly with only a minor bug in the in-game editor, if you enter it for the first time, everything's fine, but if you quit and re-enter, the item capacity for every team is 0 (editor only)
i'll try to get that fixed soon

@WMF-Industries

Copy link
Copy Markdown
Contributor Author

okay, should be all good now

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