(2561cb6ea) Tune the priority modifiers.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:18:55 +03:00
parent 65e284bf7c
commit 9facded24c
8 changed files with 273 additions and 129 deletions
@@ -783,6 +783,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;