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

This commit is contained in:
takonomura 2020-10-30 22:39:33 +09:00 committed by GitHub
parent b738fef6a1
commit d8449d2c3e

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