mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-05 23:27:55 +02:00
fix sleeve memory bug
This commit is contained in:
@@ -6,12 +6,6 @@ export const TickerHeaderFormatData = {
|
||||
};
|
||||
|
||||
for (const key in StockSymbols) {
|
||||
TickerHeaderFormatData.longestName = Math.max(
|
||||
key.length,
|
||||
TickerHeaderFormatData.longestName,
|
||||
);
|
||||
TickerHeaderFormatData.longestSymbol = Math.max(
|
||||
StockSymbols[key].length,
|
||||
TickerHeaderFormatData.longestSymbol,
|
||||
);
|
||||
TickerHeaderFormatData.longestName = Math.max(key.length, TickerHeaderFormatData.longestName);
|
||||
TickerHeaderFormatData.longestSymbol = Math.max(StockSymbols[key].length, TickerHeaderFormatData.longestSymbol);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user