Unstable 0.1300.0.5
This commit is contained in:
@@ -105,6 +105,14 @@ namespace Barotrauma
|
||||
focusedItem = item;
|
||||
FocusedCharacter = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
//failed to interact with the item
|
||||
// -> correct the position and the state of the Holdable component (in case the item was deattached client-side)
|
||||
item.PositionUpdateInterval = 0.0f;
|
||||
var holdable = item.GetComponent<Items.Components.Holdable>();
|
||||
holdable.Item?.CreateServerEvent(holdable);
|
||||
}
|
||||
}
|
||||
else if (closestEntity is Character character)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user