Fixed ruin doors being possible to open with the select key. Closes #268
This commit is contained in:
@@ -149,6 +149,7 @@ namespace Barotrauma.Items.Components
|
|||||||
: base(item, element)
|
: base(item, element)
|
||||||
{
|
{
|
||||||
isHorizontal = element.GetAttributeBool("horizontal", false);
|
isHorizontal = element.GetAttributeBool("horizontal", false);
|
||||||
|
canBePicked = element.GetAttributeBool("canbepicked", false);
|
||||||
|
|
||||||
foreach (XElement subElement in element.Elements())
|
foreach (XElement subElement in element.Elements())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user