LifeEngine icon indicating copy to clipboard operation
LifeEngine copied to clipboard

Patch Bug Involving Lifespan and Damage

Open mollthecoder opened this issue 1 year ago • 0 comments

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.

mollthecoder avatar May 29 '23 21:05 mollthecoder