Skip to content

Commit

Permalink
Probably fix an issue when multiple custom skills are present in the UI
Browse files Browse the repository at this point in the history
  • Loading branch information
spacechase0 committed Jun 18, 2022
1 parent b8ab4c5 commit 0a33959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SpaceCore/Interface/NewSkillsPage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ public NewSkillsPage(int x, int y, int width, int height)
List<ClickableTextureComponent> skillBars = this.skillBars;
ClickableTextureComponent textureComponent = new ClickableTextureComponent(
name: NewSkillsPage.CustomSkillPrefix + profession.Id,
bounds: new Rectangle(drawX + addedX - 4 + (professionLevel * 36), drawY + (gameSkillCount * 56), 56, 36),
bounds: new Rectangle(drawX + addedX - 4 + (professionLevel * 36), drawY + (totalSkillIndex * 56), 56, 36),
label: null, hoverText: professionBlurb,
texture: Game1.mouseCursors, sourceRect: new Rectangle(159, 338, 14, 9), scale: 4f,
drawShadow: true
Expand Down

0 comments on commit 0a33959

Please sign in to comment.