17.01.2017, 18:19
The fact that you're never changing "index" after its first initialization, thereby overwriting the same slot over and over again.
Sidenote: member1 through member10 is not a proper way to store members. If a player can only be a member of one organization at a time then organizationID should be an attribute of player. Otherwise you need an association (see my sig).
Sidenote: member1 through member10 is not a proper way to store members. If a player can only be a member of one organization at a time then organizationID should be an attribute of player. Otherwise you need an association (see my sig).