You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ran into issue with infinite loop on the while at line 532.
$destroyable.contents().length gets stuck on 2, and both of those items are empty
Then on line 564 goes in here and appends more emptyness to $col.contents(), goes in every time etc
Hacked a fix as so, insert line 585 (end of while loop)
if($destroyable.contents().length > 0)
{
for(int i = $destroyable.contents().length - 1; i >= 0; i--)
{
if($destroyable.contents(i).length == 0)
$destroyable.contents.remove(i);
}
}
I would submit pull request but I suspect there's going to be a root cause/better place to fix this
Thanks
The text was updated successfully, but these errors were encountered:
Ran into issue with infinite loop on the while at line 532.
$destroyable.contents().length gets stuck on 2, and both of those items are empty
Then on line 564 goes in here and appends more emptyness to $col.contents(), goes in every time etc
Hacked a fix as so, insert line 585 (end of while loop)
if($destroyable.contents().length > 0)
{
for(int i = $destroyable.contents().length - 1; i >= 0; i--)
{
if($destroyable.contents(i).length == 0)
$destroyable.contents.remove(i);
}
}
I would submit pull request but I suspect there's going to be a root cause/better place to fix this
Thanks
The text was updated successfully, but these errors were encountered: