LifeEngine
LifeEngine copied to clipboard
Patch Bug Involving Lifespan and Damage
Setting lifespan and damage to a negative number allows for a higher time alive or more damage taken before death than expected. Every update, it checks if lifetime or damage are less than 0. If so, then set them to 0.
Note: I haven't updated the dist
directory to reflect these changes. If you merge this PR into the game, please make sure to re-build it for me.