Skip to content

Commit

Permalink
fix logo text
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzyhau committed Jan 19, 2023
1 parent ca3209f commit 9e76522
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Patches/FezLogo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,9 @@ public override void Draw(GameTime gameTime)
if (alpha == 0.0f) return;

Viewport viewport = DrawingTools.GetViewport();
string hatText = $"HAT Mod Loader, version {Hat.Version}, {Hat.Instance.Mods.Count} mods installed";
if (Hat.Instance.Mods.Count == 69) hatText += "... nice";
int modCount = Hat.Instance.Mods.Count;
string hatText = $"HAT Mod Loader, version {Hat.Version}, {modCount} mod{(modCount != 1 ? "s" : "")} installed";
if (modCount == 69) hatText += "... nice";
Color textColor = Color.Lerp(Color.White, Color.Black, alpha);

DrawingTools.BeginBatch();
Expand Down

0 comments on commit 9e76522

Please sign in to comment.