Added Eihrul's fix for segfault when players get kicked for teamkilling.