Add ERT time stats (#31629)

* add jobs for ghost roles

* add job to ToggleableGhostRole

* typo

---------

Co-authored-by: Mota <belochuc@gmail.com>
This commit is contained in:
poeMota
2024-09-02 08:32:49 +03:00
committed by GitHub
parent 738e0cf0df
commit 9a51d37d02
6 changed files with 41 additions and 3 deletions

View File

@@ -54,6 +54,7 @@ public sealed class ToggleableGhostRoleSystem : EntitySystem
ghostRole.RoleName = Loc.GetString(component.RoleName);
ghostRole.RoleDescription = Loc.GetString(component.RoleDescription);
ghostRole.RoleRules = Loc.GetString(component.RoleRules);
ghostRole.JobProto = component.JobProto;
}
private void OnExamined(EntityUid uid, ToggleableGhostRoleComponent component, ExaminedEvent args)