Skip to content

Commit

Permalink
Warn if Robin's spritesheet was not found
Browse files Browse the repository at this point in the history
  • Loading branch information
tqdv committed Dec 16, 2022
1 parent 35457e8 commit ac604c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions UIInfoSuite2/UIElements/ShowRobinBuildingStatusIcon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ private void FindRobinSpritesheet()
if (_robinIconSheet != null)
break;
}
if (_robinIconSheet == null)
{
ModEntry.MonitorObject.Log($"{this.GetType().Name}: Could not find Robin spritesheet.", LogLevel.Warn);
}

_buildingIconSpriteLocation = new Rectangle(0, 195 + 1, 15, 15 - 1); // 1px edits for better alignment with other icons
}
Expand Down

0 comments on commit ac604c7

Please sign in to comment.