mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-12 10:30:50 +01:00
Fix bug
This commit is contained in:
parent
d78fa2daf8
commit
08c6c8b917
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ export default class Othello {
|
|||
|
||||
// 右下
|
||||
iterate = createIterater();
|
||||
for (let c = 0, i = 1; i <= Math.min(BOARD_SIZE - targetx, BOARD_SIZE - targety); c++, i++) {
|
||||
for (let c = 0, i = 1; i < Math.min(BOARD_SIZE - targetx, BOARD_SIZE - targety); c++, i++) {
|
||||
if (iterate(targetx + i, targety + i)) {
|
||||
res.push([3, c]);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue