mirror of
https://github.com/hotomoe/hotomoe
synced 2024-11-25 07:36:24 +09:00
リバーシで相手のターンでも置くことができるのを修正 (#6777)
This commit is contained in:
parent
e2e262c8ce
commit
0fab0c416d
@ -231,7 +231,7 @@ export default defineComponent({
|
||||
set(pos) {
|
||||
if (this.game.isEnded) return;
|
||||
if (!this.iAmPlayer) return;
|
||||
if (!this.isMyTurn) return;
|
||||
if (!this.isMyTurn()) return;
|
||||
if (!this.o.canPut(this.myColor, pos)) return;
|
||||
|
||||
this.o.put(this.myColor, pos);
|
||||
|
Loading…
Reference in New Issue
Block a user