disable ready until picking a skill in tutorial
This commit is contained in:
parent
c8bccffe7f
commit
c0cbfe6e0f
@ -86,7 +86,9 @@ function GameCtrlBtns(args) {
|
||||
quit();
|
||||
}
|
||||
|
||||
const readyBtn = <button disabled={animating} class="ready" onClick={() => sendReady()}>Ready</button>;
|
||||
const noTargets = !authenticated && game.stack.length === 0;
|
||||
|
||||
const readyBtn = <button disabled={animating || noTargets} class="ready" onClick={() => sendReady()}>Ready</button>;
|
||||
const quitBtn = <button disabled={animating} class="quit" onClick={quitClick}>Back</button>;
|
||||
|
||||
return (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user