MindRemoveRole refactor (#34880)
* MindRemoveRole refactor * role removal logstring rework * zombiesystem fix
This commit is contained in:
@@ -45,7 +45,7 @@ namespace Content.Server.Roles
|
||||
var roles = _entityManager.System<SharedRoleSystem>();
|
||||
var jobs = _entityManager.System<SharedJobSystem>();
|
||||
if (jobs.MindHasJobWithId(mind, args[1]))
|
||||
roles.MindTryRemoveRole<JobRoleComponent>(mind.Value);
|
||||
roles.MindRemoveRole<JobRoleComponent>(mind.Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user