maji-git/multiplay-core

Player Index Duplicates are possible

Closed this issue · 1 comments

The Issue
There seems to be a bug with player index, happens when player leaves the game. When new player join after that, player index duplicate could happen (like having P2 at the same time)

Expected Behavior
New player should be assigned to lowest available player index. For example, if P2 left, new player could be assign to P2 instead.
Or either this behavior should be configurable by the developer.

Should be fixed now with this commit 9e04b53