(4ddf8b0b2) Fixed power not working correctly in some grids with chained relays and junction boxes. Closes #1385

This commit is contained in:
Joonas Rikkonen
2019-04-07 21:44:02 +03:00
parent 4b58cd0294
commit be96afc5dd
2 changed files with 11 additions and 5 deletions
@@ -55,6 +55,11 @@ namespace Barotrauma.Items.Components
private set;
}
public override string ToString()
{
return "Connection (" + item.Name + ", " + Name + ")";
}
public Connection(XElement element, ConnectionPanel connectionPanel)
{