minor tweak

This commit is contained in:
Olivier Gagnon 2021-12-16 12:29:41 -05:00
parent a1af0318d8
commit 9292484ed0

@ -254,9 +254,8 @@ export class Terminal implements ITerminal {
const expGain = calculateHackingExpGain(server, player);
server.weaken(CONSTANTS.ServerWeakenAmount);
this.print(
`'${server.hostname}' security level weakened to ${server.hackDifficulty}. Gained ${numeralWrapper.formatExp(
expGain,
)} hacking exp.`,
`'${server.hostname}' security level weakened to ${server.hackDifficulty.toFixed(3)} ` +
`and Gained ${numeralWrapper.formatExp(expGain)} hacking exp.`,
);
}