- Both linked Rooms are now linked together via the Doorway Manager now. However the 2nd Room does not show the linked effects until the Zone is re-loaded. This will be addressed shortly.

- Rooms no longer install duplicate doorways. If a doorway exists, it removes it and installs the new door.
This commit is contained in:
Scionwest_cp 2009-12-09 15:03:01 -08:00
parent 7da8fcfea9
commit 968ab21e5a
2 changed files with 37 additions and 0 deletions

View file

@ -427,6 +427,14 @@ namespace MudDesigner.Editors
d.Room = form.linkedRoom.Name;
d.Zone = form.linkedZone.Name;
door.TravelRoom = d;
foreach (Door obj in Program.Room.InstalledDoors)
{
if (obj.TravelDirection == door.TravelDirection)
{
Program.Room.InstalledDoors.Remove(obj);
break;
}
}
Program.Room.InstalledDoors.Add(door);
}
}