(17183b3e8) Add a reference in the project.

This commit is contained in:
Joonas Rikkonen
2019-05-03 13:46:15 +03:00
parent e0732e6d57
commit 3371e7dca4
5 changed files with 47 additions and 299 deletions
@@ -289,6 +289,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;