(7163b300e) Added: Way for capitalizing / lowercasing replaced variables depending on the position in the sentence & some implementations
This commit is contained in:
@@ -43,7 +43,7 @@ namespace Barotrauma
|
||||
{
|
||||
return text;
|
||||
}
|
||||
text = TextManager.Get(textTag).Replace("[key]", keyBind);
|
||||
text = TextManager.GetWithVariable(textTag, "[key]", keyBind);
|
||||
cachedHudTexts.Add(textTag + keyBind, text);
|
||||
return text;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user