(40f4f67f8) Further changes to the calculations.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:06:49 +03:00
parent b7272e1c96
commit 2a0e289a59
19 changed files with 122 additions and 34 deletions
@@ -263,6 +263,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;