Skip to content

Commit

Permalink
address Lurkars#571
Browse files Browse the repository at this point in the history
  • Loading branch information
Lurkars committed Jun 4, 2024
1 parent 65da4a7 commit 719709e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gloomhavensecretariat",
"version": "0.99.1",
"version": "0.99.2",
"license": "AGPL3",
"description": "Gloomhaven Secretariat is a Gloomhaven/Frosthaven Companion app.",
"homepage": "https://gloomhaven-secretariat.de",
Expand Down
9 changes: 0 additions & 9 deletions src/app/game/businesslogic/ScenarioManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,15 +177,6 @@ export class ScenarioManager {
}
}

if (rewards.reputation) {
this.game.party.reputation += rewards.reputation;
if (this.game.party.reputation > 20) {
this.game.party.reputation = 20;
} else if (this.game.party.reputation < -20) {
this.game.party.reputation = -20;
}
}

if (rewards.itemDesigns) {
rewards.itemDesigns.forEach((item) => {
if (item.indexOf('-') != -1) {
Expand Down

0 comments on commit 719709e

Please sign in to comment.