Change how quest names are shortened so that it doesn't replace the last letter with ...

This commit is contained in:
Liza 2024-08-14 20:24:51 +02:00
parent 02ad56a96c
commit fa25db7be0
Signed by: liza
GPG Key ID: 7199F8D727D55F67

View File

@ -381,7 +381,7 @@ internal sealed partial class ActiveQuestComponent
private static string Shorten(string text)
{
if (text.Length > 35)
return string.Concat(text.AsSpan(0, 35).Trim(), ((SeIconChar)57434).ToIconString());
return string.Concat(text.AsSpan(0, 30).Trim(), ((SeIconChar)57434).ToIconString());
return text;
}