(d9d8b0f27) Always display waypoint ids in debug draw. Adjust the positions and the colors.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:12:44 +03:00
parent e06a473b41
commit 3c8707fc16
14 changed files with 176 additions and 30 deletions
@@ -523,6 +523,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;