mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-20 05:05:47 +01:00
Fix defaultMultipliers being changed
This commit is contained in:
parent
b46718d188
commit
81912d7876
@ -504,6 +504,8 @@ export const defaultMultipliers: IBitNodeMultipliers = {
|
||||
WorldDaemonDifficulty: 1,
|
||||
};
|
||||
|
||||
Object.freeze(defaultMultipliers);
|
||||
|
||||
export function getBitNodeMultipliers(n: number, lvl: number): IBitNodeMultipliers {
|
||||
const mults = Object.assign({}, defaultMultipliers);
|
||||
switch (n) {
|
||||
|
@ -252,4 +252,4 @@ export interface IBitNodeMultipliers {
|
||||
* The multipliers that are influenced by current Bitnode progression.
|
||||
*/
|
||||
// tslint:disable-next-line:variable-name
|
||||
export const BitNodeMultipliers = defaultMultipliers;
|
||||
export const BitNodeMultipliers = Object.assign({}, defaultMultipliers);
|
||||
|
Loading…
Reference in New Issue
Block a user