Backed out
changeset 076b7d23fab8. Well, the commit in question was needed after all ...
Fix critical failure to cleanup teams list after rejoining game after a force-quit. Fixes
bug #597
Backed out
changeset 6c0cf6b9eff8. Scripters should be prepared for nil and pretending the gear exists would cause more pain