- "wiring mode" which makes wiring a bit more convenient in editor

- invisible entities (items inside cabinets, hulls/gaps when they've been hidden) can't be highlighted or selected in the editor
- fixed And Components always sending a signal out during the first frame if timeframe is set to 0.0
- fixed moloch not appearing in the tutorial
This commit is contained in:
Regalis
2016-03-11 16:10:36 +02:00
parent 581c95b065
commit ad17b1a9bf
9 changed files with 174 additions and 40 deletions
+8 -1
View File
@@ -30,7 +30,6 @@ namespace Barotrauma
private float higherSurface;
private float lowerSurface;
public float Open
{
get { return open; }
@@ -73,6 +72,14 @@ namespace Barotrauma
}
}
public override bool SelectableInEditor
{
get
{
return ShowGaps;
}
}
public Gap(MapEntityPrefab prefab, Rectangle rectangle)
: this (rectangle, Submarine.Loaded)
{ }