From c8497d60165df18a5e0715c6bb87e6efa5a76d5d Mon Sep 17 00:00:00 2001 From: peshomir <80340328+peshomir@users.noreply.github.com> Date: Sat, 27 Jul 2024 19:55:17 +0300 Subject: [PATCH] Patch for the new update --- patches.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches.js b/patches.js index e501c70..de85531 100644 --- a/patches.js +++ b/patches.js @@ -53,8 +53,8 @@ export default ({ replace, replaceOne, replaceRawCode, dictionary, matchOne, mat replaceRawCode(`aZ.g5.vO(aD3[3].button,x+a0S+gap,a3X+h+gap,a0S,h);`, `aZ.g5.vO(aD3[3].button,x+a0S+gap,a3X+h+gap,a0S,h); aZ.g5.vO(aD3[5].button, x, a3X + h * 2 + gap * 2, a0S * 2 + gap, h / 3);`); // render win count - replaceRawCode(`if(_y.a4l(),_r.gI(),_m.gI(),aw.gI(),ay.gI(),a0.g8()){ctx.imageSmoothingEnabled=!1;var iQ=a0.a4o("territorial.io"),kL=.84*aD4.gA/iQ.width;`, - `if(_y.a4l(),_r.gI(),_m.gI(),aw.gI(),ay.gI(),a0.g8()){ + replaceRawCode(`if(_y.a4l(),_r.gI(),_m.gI(),aw.gI(),ay.gI()){ctx.imageSmoothingEnabled=!1;var iQ=a0.a4o("territorial.io"),kL=.84*aD4.gA/iQ.width;`, + `if(_y.a4l(),_r.gI(),_m.gI(),aw.gI(),ay.gI()){ if (settings.displayWinCounter) { const size = Math.floor(aD4.gA * 0.03); ctx.font = ${dict.fontGeneratorFunction}(1, size);