Merge branch 'master' into dedicated-server
# Conflicts: # BarotraumaClient/Source/GameSettings.cs # BarotraumaClient/Source/Screens/NetLobbyScreen.cs
This commit is contained in:
@@ -53,6 +53,13 @@ namespace Barotrauma.Items.Components
|
||||
|
||||
public override bool Select(Character picker)
|
||||
{
|
||||
//attaching wires to items with a body is not allowed
|
||||
//(signal items remove their bodies when attached to a wall)
|
||||
if (item.body != null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
user = picker;
|
||||
IsActive = true;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user