Skip to content

Commit

Permalink
Fixed mismatched skill filter labels.
Browse files Browse the repository at this point in the history
  • Loading branch information
edbmods committed Aug 4, 2018
1 parent a13232a commit 45d3a9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/FilterBackstorySkillAdjustment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ public FilterBackstorySkillAdjustment(SkillDef skillDef, int bonusOrPenalty) {
this.bonusOrPenalty = bonusOrPenalty < 0 ? -1 : 1;
this.skillDef = skillDef;
if (this.bonusOrPenalty < 0) {
this.Label = "EdB.PC.Dialog.Backstory.Filter.SkillBonus".Translate(new object[] { this.skillDef.LabelCap });
this.Label = "EdB.PC.Dialog.Backstory.Filter.SkillPenalty".Translate(new object[] { this.skillDef.LabelCap });
}
else {
this.Label = "EdB.PC.Dialog.Backstory.Filter.SkillPenalty".Translate(new object[] { this.skillDef.LabelCap });
this.Label = "EdB.PC.Dialog.Backstory.Filter.SkillBonus".Translate(new object[] { this.skillDef.LabelCap });
}
this.FilterFunction = (Backstory backstory) => {
if (this.skillDef != null && backstory.skillGainsResolved.ContainsKey(this.skillDef)) {
Expand Down

0 comments on commit 45d3a9f

Please sign in to comment.