summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts/streaming/othello-game.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-03-14 04:37:20 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-03-14 04:37:20 +0900
commit0fb52ea7eb7c5f760f3a13afd2cbe20023dfff37 (patch)
treed409c4dd48f0e75afd26e9865e6f9bdcb92b8bec /src/web/app/common/scripts/streaming/othello-game.ts
parent:v: (diff)
downloadsharkey-0fb52ea7eb7c5f760f3a13afd2cbe20023dfff37.tar.gz
sharkey-0fb52ea7eb7c5f760f3a13afd2cbe20023dfff37.tar.bz2
sharkey-0fb52ea7eb7c5f760f3a13afd2cbe20023dfff37.zip
:v:
Diffstat (limited to 'src/web/app/common/scripts/streaming/othello-game.ts')
-rw-r--r--src/web/app/common/scripts/streaming/othello-game.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/app/common/scripts/streaming/othello-game.ts b/src/web/app/common/scripts/streaming/othello-game.ts
index 51a435541a..cdf46d5d8d 100644
--- a/src/web/app/common/scripts/streaming/othello-game.ts
+++ b/src/web/app/common/scripts/streaming/othello-game.ts
@@ -3,7 +3,7 @@ import Stream from './stream';
export class OthelloGameStream extends Stream {
constructor(me, game) {
super('othello-game', {
- i: me.token,
+ i: me ? me.token : null,
game: game.id
});
}