(3a64fa8f4) Fixes to wall textures bleeding into adjacent sprites, incorrect dimensions & misaligned colliders

This commit is contained in:
Joonas Rikkonen
2019-05-03 13:44:53 +03:00
parent 16e49d10d9
commit a640439617
4 changed files with 257 additions and 31 deletions
@@ -224,6 +224,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;