Closed pilihp64 closed 12 years ago
Not sure why this is, it shouldn't behave any differently to TPT
It doesn't look like invalid elements are even deleted, I just created a fake white element ID:255, and it stayed after being unpaused
Elements under 256 (but over normal elements) are white and stable, anything over can be weird colored/glow for a frame before they die (or crash the game instantly)
This has been fixes. Unused elements are now disabled and removed from the simulation. I have also fixed the cause of the crash when removing elements with invalid types (The kill_part function was trying to decrement elementCount using the invalid type as an index.)
Setting element type to a very high number is unstable (30000+). Most of them disappear but some cause crash.