(8fd36f702) Add a separate value for run threshold. Increase the order priority from 50 to 70.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:09:15 +03:00
parent 3a3d55d780
commit 7c901d8d77
14 changed files with 106 additions and 29 deletions
@@ -367,6 +367,19 @@ namespace Barotrauma.Items.Components
return true;
}
public override void OnItemLoaded()
{
sonar = item.GetComponent<Sonar>();
}
public override bool Select(Character character)
{
if (!CanBeSelected) return false;
user = character;
return true;
}
public override void Update(float deltaTime, Camera cam)
{
networkUpdateTimer -= deltaTime;