Fixed bug with saving the player after changing hp to a float.