#W# Citizens: Reworked Citizens, working citizens, and meeting spot citizens
This commit is contained in:
parent
740d06a524
commit
54e6d4c978
10 changed files with 337 additions and 166 deletions
|
|
@ -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
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue