Syringes are recolored according to the color of the contained medical item. Closes #256

This commit is contained in:
Joonas Rikkonen
2018-03-01 11:25:37 +02:00
parent 9f6868eaaa
commit 55a5e9e968
4 changed files with 28 additions and 2 deletions
@@ -462,7 +462,7 @@ namespace Barotrauma
if (item == null || !drawItem) return;
item.Sprite.Draw(spriteBatch, new Vector2(rect.X + rect.Width / 2, rect.Y + rect.Height / 2), item.Color);
item.Sprite.Draw(spriteBatch, new Vector2(rect.X + rect.Width / 2, rect.Y + rect.Height / 2), item.GetSpriteColor());
}
}
}