Added a timer to the raycasts so it's not screwing over performance too hard

This commit is contained in:
Alex Noir
2017-12-17 21:35:19 +03:00
parent 714b52dce8
commit 041d1112b8
3 changed files with 31 additions and 7 deletions
@@ -31,14 +31,14 @@ namespace Barotrauma.Items.Components
private WearableSprite[] wearableSprites;
private LimbType[] limbType;
private Limb[] limb;
private List<DamageModifier> damageModifiers;
public List<DamageModifier> DamageModifiers
{
get { return damageModifiers; }
}
public bool Disguise;
public Wearable (Item item, XElement element)
: base(item, element)
{