Skip to content

Commit

Permalink
Fix features for Brio actors above 20 not working
Browse files Browse the repository at this point in the history
  • Loading branch information
AsgardXIV committed Jan 2, 2024
1 parent 8bbc1e5 commit 201ab44
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Brio/Core/IntExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ public static string ToWords(this int i, string separator = " ")

public static string ToBrioName(this int i)
{
return $"Brio {i.ToWords("'")}";
string words = ToWords(i);
if(words.Contains(' '))
return words;

return "Brio " + words;
}
}
}

0 comments on commit 201ab44

Please sign in to comment.