(98d8107fe) Fixed server failing to set items' treatment suitabilities because afflictions were loaded after the items

This commit is contained in:
Joonas Rikkonen
2019-04-16 17:10:54 +03:00
parent 81b359ea58
commit 4c83e5a598
2 changed files with 1 additions and 26 deletions
@@ -67,31 +67,6 @@ namespace Barotrauma
public float SpriteRotation;
private GUITextBlock itemInUseWarning;
private GUITextBlock ItemInUseWarning
{
get
{
if (itemInUseWarning == null)
{
itemInUseWarning = new GUITextBlock(new RectTransform(new Point(10), GUI.Canvas), "",
textColor: Color.Orange, color: Color.Black,
textAlignment:Alignment.Center, style: "OuterGlow");
}
return itemInUseWarning;
}
}
public override bool SelectableInEditor
{
get
{
return parentInventory == null && (body == null || body.Enabled) && ShowItems;
}
}
public float SpriteRotation;
public Color GetSpriteColor()
{
Color color = spriteColor;