diff --git a/frontend/gfx-script.js b/frontend/gfx-script.js index 9be1e08..cfdb912 100644 --- a/frontend/gfx-script.js +++ b/frontend/gfx-script.js @@ -2,14 +2,10 @@ let previousState = 'HIDDEN' const namespace = 'module-league-runes' const updateUi = data => { - console.log(data); - if (data.state === 'HIDDEN') { $('.blue-box').addClass('hidden'); $('.red-box').addClass('hidden'); - console.log('state is hidden') } else { - console.log(previousState, data.state) if (previousState !== data.state) { $('.red-box').addClass('hidden'); $('.blue-box').addClass('hidden'); @@ -38,8 +34,6 @@ const updateUi = data => { secondary2: getDDragonPath(runes[5].icon) }) - console.log(data.participants[championMapping[num][0] - 1].perks.perkConstants) - const championLeft = data.participants[championMapping[num][0] - 1].champion const championRight = data.participants[championMapping[num][1] - 1].champion const runesLeft = data.participants[championMapping[num][0] - 1].perks.perkConstants diff --git a/plugin.js b/plugin.js index 3b58e18..57e94c6 100644 --- a/plugin.js +++ b/plugin.js @@ -48,7 +48,6 @@ module.exports = (ctx) => { ctx.LPTE.on('module-league-state', 'live-game-loaded', e => { gfxState.participants = e.state.web.live.participants; - // console.log(e) gfxState.dataState = 'READY' emitUpdate() });