(2f379083c) Change how some of the priorities are clamped.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:06:30 +03:00
parent b5db30ec72
commit b7272e1c96
18 changed files with 165 additions and 42 deletions
@@ -250,6 +250,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;