Fix Client RoleSystem not inheriting SharedRoleSystem, network job component (#21436)
This commit is contained in:
@@ -4,7 +4,6 @@ using Content.Server.Mind;
|
||||
using Content.Shared.Mind;
|
||||
using Content.Shared.Roles;
|
||||
using Content.Shared.Roles.Jobs;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Server.Roles.Jobs;
|
||||
|
||||
@@ -48,6 +47,6 @@ public sealed class JobSystem : SharedJobSystem
|
||||
if (MindHasJobWithId(mindId, jobPrototypeId))
|
||||
return;
|
||||
|
||||
_roles.MindAddRole(mindId, new JobComponent { PrototypeId = jobPrototypeId });
|
||||
_roles.MindAddRole(mindId, new JobComponent { Prototype = jobPrototypeId });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user