Closed varkor closed 9 years ago
At the moment, the trainers in a multiplayer battle are referenced by their team (0 for the initiator, 1 for the invitee). It would be a lot better to use the trainer's unique IDs for this purpose instead.
This is how the system is now currently handled in Pokéngine (and would be advised of any server running the battle system in the future).
At the moment, the trainers in a multiplayer battle are referenced by their team (0 for the initiator, 1 for the invitee). It would be a lot better to use the trainer's unique IDs for this purpose instead.