diff --git a/onlinetichu-counter.js b/onlinetichu-counter.js index 2bccf9d..bd4c40f 100644 --- a/onlinetichu-counter.js +++ b/onlinetichu-counter.js @@ -1,6 +1,6 @@ // ==UserScript== // @name onlinetichu.com card counter -// @version 1.3.4 +// @version 1.3.5 // @description automatically count cards at onlinetichu.com // @match *://*.onlinetichu.com/Site/Game/Table/* // @author Maximilian Keßler @@ -358,7 +358,7 @@ function injectCounter() { games: otc.util.extractFloat( c1[3].innerText), wins: otc.util.extractFloat( c1[4].innerText.split("-")[0]), defeats: otc.util.extractFloat( c1[4].innerText.split("-")[1]), - winningPercentage: otc.util.extractFloat( c1[5].innerText), + winningPercentage: (otc.util.extractFloat( c1[5].innerText)).toFixed(1), goldGames: otc.util.extractFloat( c1[6].innerText), goldWins: otc.util.extractFloat( c1[7].innerText.split("-")[0]), goldDefeats: otc.util.extractFloat( c1[7].innerText.split("-")[1]),