Patch for the new game version
parent
2eff0268c3
commit
d676eb492f
|
@ -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);`,
|
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);`);
|
`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
|
// 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;`,
|
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()){
|
`if(_y.a4l(),_r.gI(),_m.gI(),aw.gI(),ay.gI(),a0.g8()){
|
||||||
if (settings.displayWinCounter) {
|
if (settings.displayWinCounter) {
|
||||||
const size = Math.floor(aD4.gA * 0.03);
|
const size = Math.floor(aD4.gA * 0.03);
|
||||||
ctx.font = ${dict.fontGeneratorFunction}(1, size);
|
ctx.font = ${dict.fontGeneratorFunction}(1, size);
|
||||||
|
|
Loading…
Reference in New Issue