mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-02 14:27:39 +01:00
リバーシで相手のターンでも置くことができるのを修正 (#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