(15c28d37a) fixed outpost

This commit is contained in:
Joonas Rikkonen
2019-05-03 13:45:26 +03:00
parent 904cad71a5
commit 4daa149f29
4 changed files with 231 additions and 114 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;