Fixed clients forcing remote players to pick an item when it's being selected, causing them to press buttons and start deattaching them when the player is actually just rewiring the button. Closes #251
This commit is contained in:
@@ -1086,7 +1086,7 @@ namespace Barotrauma
|
||||
}
|
||||
else
|
||||
{
|
||||
if (forceSelectKey)
|
||||
if (forceSelectKey && ic.CanBeSelected)
|
||||
{
|
||||
if (ic.PickKey == InputType.Select) pickHit = true;
|
||||
if (ic.SelectKey == InputType.Select) selectHit = true;
|
||||
|
||||
Reference in New Issue
Block a user