Fixed a bug that constantly increased the "global friend counter" when player died