forked from FoundKeyGang/FoundKey
リバーシで相手のターンでも置くことができるのを修正 (#6777)
This commit is contained in:
parent
e2e262c8ce
commit
0fab0c416d
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ export default defineComponent({
|
||||||
set(pos) {
|
set(pos) {
|
||||||
if (this.game.isEnded) return;
|
if (this.game.isEnded) return;
|
||||||
if (!this.iAmPlayer) return;
|
if (!this.iAmPlayer) return;
|
||||||
if (!this.isMyTurn) return;
|
if (!this.isMyTurn()) return;
|
||||||
if (!this.o.canPut(this.myColor, pos)) return;
|
if (!this.o.canPut(this.myColor, pos)) return;
|
||||||
|
|
||||||
this.o.put(this.myColor, pos);
|
this.o.put(this.myColor, pos);
|
||||||
|
|
Loading…
Reference in a new issue