summaryrefslogtreecommitdiff
path: root/src/api/stream
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/stream')
-rw-r--r--src/api/stream/othello-game.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/api/stream/othello-game.ts b/src/api/stream/othello-game.ts
index 05f244f769..5f61f0cc2c 100644
--- a/src/api/stream/othello-game.ts
+++ b/src/api/stream/othello-game.ts
@@ -126,7 +126,8 @@ export default function(request: websocket.request, connection: websocket.connec
//#region 盤面に最初から石がないなどして始まった瞬間に勝敗が決定する場合があるのでその処理
const o = new Othello(map, {
isLlotheo: freshGame.settings.is_llotheo,
- canPutEverywhere: freshGame.settings.can_put_everywhere
+ canPutEverywhere: freshGame.settings.can_put_everywhere,
+ loopedBoard: freshGame.settings.looped_board
});
if (o.isEnded) {
@@ -168,7 +169,8 @@ export default function(request: websocket.request, connection: websocket.connec
const o = new Othello(game.settings.map, {
isLlotheo: game.settings.is_llotheo,
- canPutEverywhere: game.settings.can_put_everywhere
+ canPutEverywhere: game.settings.can_put_everywhere,
+ loopedBoard: game.settings.looped_board
});
game.logs.forEach(log => {