Fix play button adding wins or losses

This commit is contained in:
thepaperpilot 2023-02-25 18:40:36 -06:00
parent 0eacc77aec
commit 11a877484e

View file

@ -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";
}