mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-22 09:13:07 +02:00
MISC: Fix typos and duplicating ms per cycle constant (#2436)
This commit is contained in:
@@ -13,6 +13,7 @@ import { GangMemberTasks } from "../Gang/GangMemberTasks";
|
||||
import { GangMemberUpgrades } from "../Gang/GangMemberUpgrades";
|
||||
import { helpers } from "../Netscript/NetscriptHelpers";
|
||||
import { getEnumHelper } from "../utils/EnumHelper";
|
||||
import { CONSTANTS } from "../Constants";
|
||||
|
||||
export function NetscriptGang(): InternalAPI<IGang> {
|
||||
/** Functions as an API check and also returns the gang object */
|
||||
@@ -353,7 +354,7 @@ export function NetscriptGang(): InternalAPI<IGang> {
|
||||
},
|
||||
getBonusTime: (ctx) => () => {
|
||||
const gang = getGang(ctx);
|
||||
return gang.storedCycles * 200;
|
||||
return gang.storedCycles * CONSTANTS.MilliPerCycle;
|
||||
},
|
||||
nextUpdate: (ctx) => () => {
|
||||
getGang(ctx);
|
||||
|
||||
Reference in New Issue
Block a user