Ragdoll.SetPosition takes platforms into account if the character isn't ignoring platforms (i.e. forcing a character on top of a platform won't make it fall through it), reaching the top/bottom of a ladder won't make networkplayers fall off, server ignores position updates from dead/unconscious characters, smaller ResetRagdollDistance
This commit is contained in:
@@ -1301,14 +1301,19 @@ namespace Barotrauma
|
||||
|
||||
System.Diagnostics.Debug.WriteLine("Item.Pick(" + picker + ", " + forceSelectKey + ")");
|
||||
|
||||
if (picker.SelectedConstruction == this)
|
||||
if (selected)
|
||||
{
|
||||
if (picker.IsKeyHit(InputType.Select)) picker.SelectedConstruction = null;
|
||||
}
|
||||
else if (selected)
|
||||
{
|
||||
picker.SelectedConstruction = this;
|
||||
if (picker.SelectedConstruction == this)
|
||||
{
|
||||
picker.SelectedConstruction = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
picker.SelectedConstruction = this;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (!hasRequiredSkills && Character.Controlled==picker && Screen.Selected != GameMain.EditMapScreen)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user