add another ready check to race for first turn

This commit is contained in:
snen 2021-09-24 22:59:49 -04:00
parent a326edda11
commit 4a8fb67a2b

View File

@ -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) {