Skip to content

Conversation

@Pauwelz
Copy link
Contributor

@Pauwelz Pauwelz commented Nov 14, 2025

When GetBoundsArray is used in a loop (such as in TRSEntity._WalkHoverHelper and TRSEntity._HoverHelper) the coordinates don't get cleared and get duplicated, causing the length of the coordinates array and the atpa array to be out of sync.

Clearing the coordinates on a retry (or just in general) solves the issue.

Screen movement during the loop probably influenced this as well.

When GetBoundsArray is used in a loop (such as in TRSEntity._WalkHoverHelper and TRSEntity._HoverHelper) the coordinates don't get cleared and get duplicated, causing the length of the coordinates array and the atpa array to be out of sync.

Clearing the coordinates on a retry (or just in general) solves the issue.

Screen movement during the loop probably influenced this as well.
@Torwent Torwent merged commit a343030 into WaspScripts:main Nov 14, 2025
1 check passed
@Pauwelz Pauwelz deleted the patch-3 branch November 16, 2025 13:02
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