Fix jobs not getting their round start message (#19643)

This commit is contained in:
DrSmugleaf
2023-08-29 15:50:23 -07:00
committed by GitHub
parent f4503864d5
commit 084ad5415c
4 changed files with 16 additions and 6 deletions

View File

@@ -83,6 +83,9 @@ public sealed class RoleSystem : EntitySystem
AddComp(mindId, component);
var antagonist = IsAntagonistRole<T>();
var mindEv = new MindRoleAddedEvent();
RaiseLocalEvent(mindId, ref mindEv);
var message = new RoleAddedEvent(mindId, mind, antagonist);
if (mind.OwnedEntity != null)
{