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 = [];