Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Could it be if you lose two eggs at the same time so it goes instantly to -1 not to zero? Depending on how your code is checking it. If it's only like if health  == 0 and not if health <= 0 then it could be that.

(+1)

I cannot even believe I missed that. I just checked my code and it looks like that was the problem. -_- Thanks for the help debugging! lol