(776291eb7) Create linked gaps when the door is selected. Move the gaps with the doors.

This commit is contained in:
Joonas Rikkonen
2019-06-11 21:44:32 +03:00
parent b8bca945bb
commit a4875cfeb3
6 changed files with 96 additions and 40 deletions
@@ -451,7 +451,7 @@ namespace Barotrauma
public override void UpdateEditing(Camera cam)
{
if (editingHUD == null || editingHUD.UserData as Item != this)
if (editingHUD == null || editingHUD.UserData == null)
{
editingHUD = CreateEditingHUD(Screen.Selected != GameMain.SubEditorScreen);
}