mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 00:32:51 +02:00
VARIOUS: Various changes prior to release 2.2 (#271)
See PR #271 description
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
* - Updating Hash Manager capacity
|
||||
* - Purchasing hash upgrades
|
||||
*
|
||||
* TODO Should probably split the different types of functions into their own modules
|
||||
* TODO unplanned Should probably split the different types of functions into their own modules
|
||||
*/
|
||||
import { HacknetNode } from "./HacknetNode";
|
||||
import { calculateNodeCost } from "./formulas/HacknetNodes";
|
||||
@@ -531,7 +531,7 @@ export function purchaseHashUpgrade(upgName: string, upgTarget: string, count =
|
||||
return false;
|
||||
}
|
||||
for (const division of corp.divisions) {
|
||||
division.sciResearch.qty += upg.value * count;
|
||||
division.sciResearch += upg.value * count;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user