mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-28 20:07:04 +02:00
DNET: Player feedback (#2545)
This commit is contained in:
committed by
GitHub
parent
73b7921ef0
commit
1b6b07faae
@@ -551,7 +551,11 @@ export class Terminal {
|
||||
switch (promptResult.result) {
|
||||
case CodingContractResult.Success:
|
||||
if (contract.reward !== null) {
|
||||
const reward = Player.gainCodingContractReward(contract.reward, contract.getDifficulty());
|
||||
const reward = Player.gainCodingContractReward(
|
||||
contract.reward,
|
||||
contract.getDifficulty(),
|
||||
contract.rewardScaling,
|
||||
);
|
||||
this.print(`Contract SUCCESS - ${reward}`);
|
||||
}
|
||||
server.removeContract(contract);
|
||||
|
||||
Reference in New Issue
Block a user