mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
fix int exp gain in sing func
This commit is contained in:
parent
275c740a16
commit
ded230eaaf
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -530,7 +530,6 @@ export function NetscriptSingularity(
|
||||
|
||||
if (player.hasProgram(item.program)) {
|
||||
workerScript.log("purchaseProgram", `You already have the '${item.program}' program`);
|
||||
player.gainIntelligenceExp(CONSTANTS.IntelligenceSingFnBaseExpGain / 50);
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -540,6 +539,7 @@ export function NetscriptSingularity(
|
||||
"purchaseProgram",
|
||||
`You have purchased the '${item.program}' program. The new program can be found on your home computer.`,
|
||||
);
|
||||
player.gainIntelligenceExp(CONSTANTS.IntelligenceSingFnBaseExpGain / 50);
|
||||
return true;
|
||||
},
|
||||
getCurrentServer: function (): any {
|
||||
|
Loading…
Reference in New Issue
Block a user