Fix for update v2.15.15
parent
931ddb5e13
commit
9f0b715c9d
2
build.js
2
build.js
|
|
@ -117,7 +117,7 @@ async function patchGameCode() {
|
|||
"[0]=__L(),@strs[1]=@game.@gIsSingleplayer?__L():__L(),",
|
||||
"?(this.gB=Math.floor(.066*aK.fw),g5=aK.g5-4*@uiSizes.@gap-this.gB):",
|
||||
`for(a0L=new Array(@game.@gMaxPlayers),a0A.font=a07,@i=game.gMaxPlayers-1;0<=i;i--)a0L[i]=i+1+".",@playerData.@playerNames[i]=aY.qW.tm(playerData.@rawPlayerNames[i],a07,a0W),a0K[i]=Math.floor(a0A.measureText(playerData.playerNames[i]).width);`,
|
||||
`var dt=@MenuManager.@getState();if(6===dt){if(4211===d)`
|
||||
//`var dt=@MenuManager.@getState();if(6===dt){if(4211===d)`
|
||||
]
|
||||
|
||||
rawCodeSegments.forEach(code => {
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ import ModUtils, { insert } from '../modUtils.js';
|
|||
|
||||
// Custom lobby patches
|
||||
export default (/** @type {ModUtils} */ { modifyCode, insertCode, replaceCode, replaceRawCode, safeDictionary: dict, waitForMinification }) => {
|
||||
return; // temporarily disabled
|
||||
|
||||
// set player id correctly
|
||||
insertCode(`function aBG(aBE) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue