Fixed bug with new team system