|
People reallllyyyy need to just do a bit of reading/searching...
NullReferenceException... Not set to an instance of an object.
You're trying to perform an action on something that is not yet assigned. You need to make sure that you create/assign a team before you then try to use a team.
It's like saying "Pick one of the cards I'm holding" when I'm not holding any cards, you'd look at me like I'm a ****** which is exactly what the compiler is doing to you.
|