mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-23 17:53:00 +02:00
Added unalias command. Updated to v0.22.0
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ Company.prototype.hasPosition = function(pos) {
|
||||
|
||||
Company.prototype.gainFavor = function() {
|
||||
if (this.favor == null || this.favor == undefined) {this.favor = 0;}
|
||||
this.favor += (this.playerReputation / CONSTANTS.CompanyReputationToFavor);
|
||||
this.favor += Math.max(0, (this.playerReputation-1) / CONSTANTS.CompanyReputationToFavor);
|
||||
}
|
||||
|
||||
Company.prototype.toJSON = function() {
|
||||
|
||||
Reference in New Issue
Block a user