Commit 70a30fd
authored
fix(TRSEntity): GetBoundsArray - Coordinates getting duplicated
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.1 parent c3cef21 commit 70a30fd
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| 250 | + | |
250 | 251 | | |
251 | 252 | | |
252 | 253 | | |
| |||
0 commit comments