fix: Fixes missing EJ houses in catalog (#925)
This commit is contained in:
parent
6fef622715
commit
01a41732f1
2 changed files with 5 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -32,3 +32,4 @@
|
|||
.DS_Store
|
||||
|
||||
/packages/*
|
||||
/Distribution/Configuration/server-access.json
|
||||
|
|
|
|||
|
|
@ -103,8 +103,9 @@ namespace Server.Items
|
|||
{
|
||||
case 1: // Classic Houses
|
||||
{
|
||||
// TODO: Add flag to use ClassicHouses or EJ
|
||||
m_From.SendGump(new HousePlacementListGump(m_From, HousePlacementEntry.HousesEJ));
|
||||
var entry = Core.EJ ? HousePlacementEntry.HousesEJ : HousePlacementEntry.ClassicHouses;
|
||||
m_From.SendGump(new HousePlacementListGump(m_From, entry));
|
||||
|
||||
break;
|
||||
}
|
||||
case 2: // 2-Story Customizable Houses
|
||||
|
|
@ -318,7 +319,7 @@ namespace Server.Items
|
|||
{
|
||||
m_Table = new Dictionary<Type, object>();
|
||||
|
||||
FillTable(ClassicHouses);
|
||||
FillTable(Core.EJ ? HousesEJ : ClassicHouses);
|
||||
FillTable(TwoStoryFoundations);
|
||||
FillTable(ThreeStoryFoundations);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue