(fd30b1df7) Added some workshop item tags

This commit is contained in:
Joonas Rikkonen
2019-06-15 19:44:53 +03:00
parent d23fafbbde
commit 6c72136fa9
2 changed files with 6 additions and 2 deletions
@@ -748,7 +748,7 @@ namespace Barotrauma
for (int i = 0; i < item.Tags.Length && i < 5; i++)
{
if (string.IsNullOrEmpty(item.Tags[i])) { continue; }
string tag = TextManager.Get("Workshop.ContentTag." + item.Tags[i], true);
string tag = TextManager.Get("Workshop.ContentTag." + item.Tags[i].Replace(" ", ""), true);
if (string.IsNullOrEmpty(tag)) { tag = item.Tags[i].CapitaliseFirstInvariant(); }
tags.Add(tag);
}