mirror of
https://github.com/thepaperpilot/Super-Auto-Coots.git
synced 2025-02-16 09:31:40 +00:00
Fix play button adding wins or losses
This commit is contained in:
parent
0eacc77aec
commit
11a877484e
1 changed files with 3 additions and 0 deletions
|
@ -773,6 +773,9 @@ export const main = createLayer("main", function (this: BaseLayer) {
|
|||
const isDragging = ref(false);
|
||||
|
||||
function prepareMove() {
|
||||
if (showingOutcome.value) {
|
||||
return;
|
||||
}
|
||||
if (battle.value == null) {
|
||||
throw "Preparing move while not in battle";
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue