Fixed small bugs

Changed if playerhealth == 0
to
if playerhealth <=0

-------------------------------