From c002ca345119c8b264537111066cbb2216d9c85e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Sun, 18 Sep 2022 10:25:25 +0200 Subject: [PATCH] fix bug --- onlinetichu-counter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onlinetichu-counter.js b/onlinetichu-counter.js index b0419f9..52f2b32 100644 --- a/onlinetichu-counter.js +++ b/onlinetichu-counter.js @@ -346,8 +346,8 @@ function injectCounter() { } dirs = ['east', 'north', 'west']; for (i in dirs) { - exchangedTo[dirs[i]] = null; - exchangedFrom[dirs[i]] = null; + otc.exchangedTo[dirs[i]] = null; + otc.exchangedFrom[dirs[i]] = null; } otc.totalPlayed = []; otc.handCardShuffle = [];