リバーシで相手のターンでも置くことができるのを修正 (#6777)

This commit is contained in:
takonomura 2020-10-30 22:39:33 +09:00 committed by GitHub
parent e2e262c8ce
commit 0fab0c416d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);