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
Can get negative sizes when despawning and then immediately spawning within the same commit commands.
This is caused by the spawnAt functionality:
ifnotwillBeDeletedthenself._size+=1end
executeDespawn will still occur even if a later spawnAt command it executed, and executeDespawn will always decrement the _size by 1, even if markedForDeletion is no longer set.
Description
Can get negative sizes when despawning and then immediately spawning within the same commit commands.
This is caused by the spawnAt functionality:
executeDespawn will still occur even if a later spawnAt command it executed, and executeDespawn will always decrement the _size by 1, even if markedForDeletion is no longer set.
Steps to reproduce
Expected behavior
Keep the appropriate _size value.
The text was updated successfully, but these errors were encountered: