Open eanders-ms opened 1 year ago
I can make it so it sends on click, but I definitely would prefer to avoid sending disconnected on clicking another one -- that'd make it real hard to test any game that relies on it, and I don't think I'd view clicking 'play as 3' to correspond to 'disconnect player 2' / would definitely feel like a bug
We need a way to test disconnected events.
In the future we might want a toggle for "connected" and a separate way to indicate whether they're the current player (where input is piped).
Without sending disconnect events it will be impossible to test a connect more than one time per user per game session. And never possible to test disconnects.
To make editor behavior more consistent with online multiplayer: