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

Fixes xenos pathing to unreachable target #354

Conversation

Doubleumc
Copy link
Contributor

About the pull request

Fixes #353 , bringing the scenario in the issue from 138ms to 18ms:
image
(18ms is an average, it can spike depending on which tick the xenos try to pathfind)

Explain why it's good for the game

Less performance impact from unreachable targets.

Testing Photographs and Procedure

Same scenario as in the issue. COOLDOWN_START is triggered, the xeno waits the 2.5 seconds then tries pathfinding again. If the blocker is removed xenos will happily path through it after the cooldown.

Changelog

🆑
fix: less lag from xenos pathfinding unreachable targets
/:cl:

@github-actions github-actions bot added the fix label Jul 31, 2024
@Doubleumc Doubleumc merged commit ed6c6a1 into cmss13-devs:master Aug 9, 2024
36 checks passed
@Doubleumc Doubleumc deleted the fixes-xenos-pathing-unreachable-target branch August 9, 2024 05:36
cm13-github added a commit that referenced this pull request Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AI impacts server performance when can't reach target
1 participant