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

AI - Add basic delay for CBA_fnc_searchNearby while loop #1547

Merged
merged 1 commit into from May 17, 2022
Merged

Conversation

PabstMirror
Copy link
Contributor

@PabstMirror PabstMirror commented May 16, 2022

#1544
#1545

cherry pick trivial partial fix from other PR
Without this sleep there could be an while {true} loop with no pause between iterations
The sleep is small enough it shouldn't be noticeable in terms of ai responsiveness

Based on @mrzachhigginsofficial 's PR - this might still run forever but should mostly eliminate any real performance issues

Co-Authored-By: mrzachhiggins <53547287+mrzachhigginsofficial@users.noreply.github.com>
@PabstMirror PabstMirror added this to the 3.15.7 milestone May 16, 2022
@PabstMirror PabstMirror merged commit a48dbf3 into master May 17, 2022
@PabstMirror PabstMirror deleted the seachb branch May 17, 2022 21:47
@jonpas jonpas mentioned this pull request Sep 7, 2023
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.

None yet

1 participant