mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-10 01:27:48 +02:00
MISC: Fix typos and duplicating ms per cycle constant (#2436)
This commit is contained in:
@@ -72,6 +72,7 @@ import {
|
||||
import { PositiveInteger } from "../types";
|
||||
import { getRecordKeys } from "../Types/Record";
|
||||
import { setDeprecatedProperties } from "../utils/DeprecationHelper";
|
||||
import { CONSTANTS } from "../Constants";
|
||||
|
||||
export function NetscriptCorporation(): InternalAPI<NSCorporation> {
|
||||
function hasUnlock(unlockName: CorpUnlockName): boolean {
|
||||
@@ -802,7 +803,7 @@ export function NetscriptCorporation(): InternalAPI<NSCorporation> {
|
||||
},
|
||||
getBonusTime: (ctx) => () => {
|
||||
checkAccess(ctx);
|
||||
return getCorporation().storedCycles * 200;
|
||||
return getCorporation().storedCycles * CONSTANTS.MilliPerCycle;
|
||||
},
|
||||
nextUpdate: (ctx) => () => {
|
||||
checkAccess(ctx);
|
||||
|
||||
Reference in New Issue
Block a user