Fix npe in player quit with tank.