fixed crash bug when player was killed by explosion