mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 08:42:53 +02:00
refactor some stuff
This commit is contained in:
@@ -76,7 +76,7 @@ export function buyDarkwebItem(itemName: string): void {
|
||||
Player.getHomeComputer().pushProgram(item.program);
|
||||
// Cancel if the program is in progress of writing
|
||||
if (isCreateProgramWork(Player.currentWork) && Player.currentWork.programName === item.program) {
|
||||
Player.finishNEWWork(true);
|
||||
Player.finishWork(true);
|
||||
}
|
||||
|
||||
Terminal.print(
|
||||
|
||||
Reference in New Issue
Block a user