(d85d68721) Fixed character's feet getting stuck to platforms when climbing ladders while holding A/D

This commit is contained in:
Joonas Rikkonen
2019-05-03 13:44:04 +03:00
parent fb21005258
commit 35f4657ea1
11 changed files with 91 additions and 339 deletions
@@ -185,6 +185,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;