Fixed not tracking job playtime (#19639)

This commit is contained in:
DrSmugleaf
2023-08-29 13:39:16 -07:00
committed by GitHub
parent b2672bdd3b
commit 9567ae3b7f
3 changed files with 6 additions and 4 deletions

View File

@@ -80,7 +80,7 @@ public sealed class PlayTimeTrackingSystem : EntitySystem
public IEnumerable<string> GetTimedRoles(EntityUid mindId)
{
var ev = new MindGetAllRolesEvent(new List<RoleInfo>());
RaiseLocalEvent(ref ev);
RaiseLocalEvent(mindId, ref ev);
foreach (var role in ev.Roles)
{