Skip to content

Commit e93e531

Browse files
committed
[feature] Allow continuing game during ball placement
1 parent a667072 commit e93e531

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/control/ControlGeneral.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<b-button v-hotkey="keymapContinue"
4242
ref="btnContinue"
4343
v-on:click="triggerContinue"
44-
v-bind:disabled="!gameEventPresent || !stopped">
44+
v-bind:disabled="!gameEventPresent || (!stopped && !ballPlacement)">
4545
Continue
4646
</b-button>
4747
</span>
@@ -135,6 +135,9 @@
135135
stopped() {
136136
return this.state.command === 'stop';
137137
},
138+
ballPlacement() {
139+
return this.state.command === 'ballPlacement';
140+
},
138141
prepareSth() {
139142
return this.state.command === 'kickoff' || this.state.command === 'penalty';
140143
},

0 commit comments

Comments
 (0)