#W# Citizens: Reworked Citizens, working citizens, and meeting spot citizens

This commit is contained in:
WarrentyExpired 2026-11-04 11:30:45 -05:00
parent 740d06a524
commit 54e6d4c978
10 changed files with 337 additions and 166 deletions

View file

@ -512,7 +512,7 @@ namespace Server.Commands
light.ItemID = m_ItemID;
}
}
else if (item is TradesmanNode node)
else if (item is CitizenNode node)
{
for (var i = 0; i < m_Params.Length; ++i)
{
@ -522,8 +522,8 @@ namespace Server.Commands
if (indexOf >= 0)
{
node.NodeType = (TradesmanNodeType)Enum.Parse(
typeof(TradesmanNodeType),
node.NodeType = (CitizenNodeType)Enum.Parse(
typeof(CitizenNodeType),
m_Params[i][++indexOf..],
true
);