mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-25 10:42:51 +02:00
MISC: Refactor favor code (#1321)
This commit is contained in:
@@ -76,7 +76,7 @@ export function endGoGame(boardState: BoardState) {
|
||||
Player.factions.includes(factionName) &&
|
||||
statusToUpdate.favor < getMaxFavor()
|
||||
) {
|
||||
Factions[factionName].favor++;
|
||||
Factions[factionName].setFavor(Factions[factionName].favor + 1);
|
||||
statusToUpdate.favor++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user