add another ready check to race for first turn
This commit is contained in:
parent
a326edda11
commit
4a8fb67a2b
@ -203,6 +203,7 @@ export default function GameClient(): JSX.Element {
|
||||
React.useEffect(() => {
|
||||
if (gameHandle.status !== 'connected') return
|
||||
gameHandle.handle.readyPlayer()
|
||||
gameHandle.handle.readyPlayer()
|
||||
}, [gameHandle, team])
|
||||
|
||||
switch (gameHandle.status) {
|
||||
|
Loading…
Reference in New Issue
Block a user