(0c86b4b28) Revert "Don't reset the los if there is no client (single player). Fixes los resetting between game sessions (less tedious debugging)."
This commit is contained in:
@@ -721,7 +721,7 @@ namespace Barotrauma
|
||||
var shadowSprite = GUI.Style.GetComponentStyle("OuterGlow").Sprites[GUIComponent.ComponentState.None][0];
|
||||
string toolTip = mouseOnHealthInterface ? TextManager.Get("QuickUseAction.UseTreatment") :
|
||||
Character.Controlled.FocusedItem != null ?
|
||||
TextManager.Get("PutItemIn").Replace("[itemname]", Character.Controlled.FocusedItem.Name) :
|
||||
TextManager.GetWithVariable("PutItemIn", "[itemname]", Character.Controlled.FocusedItem.Name, true) :
|
||||
TextManager.Get("DropItem");
|
||||
int textWidth = (int)Math.Max(GUI.Font.MeasureString(draggingItem.Name).X, GUI.SmallFont.MeasureString(toolTip).X);
|
||||
int textSpacing = (int)(15 * GUI.Scale);
|
||||
@@ -771,11 +771,11 @@ namespace Barotrauma
|
||||
{
|
||||
if (idJob == null)
|
||||
{
|
||||
description = TextManager.Get("IDCardName").Replace("[name]", idName);
|
||||
description = TextManager.GetWithVariable("IDCardName", "[name]", idName);
|
||||
}
|
||||
else
|
||||
{
|
||||
description = TextManager.Get("IDCardNameJob").Replace("[name]", idName).Replace("[job]", idJob);
|
||||
description = TextManager.GetWithVariables("IDCardNameJob", new string[2] { "[name]", "[job]" }, new string[2] { idName, idJob }, new bool[2] { false, true });
|
||||
}
|
||||
if (!string.IsNullOrEmpty(item.Description))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user