@@ -293,6 +293,7 @@ public sealed class ZombieRuleSystem : GameRuleSystem<ZombieRuleComponent>
|
|||||||
|
|
||||||
//Add the role to the mind silently (to avoid repeating job assignment)
|
//Add the role to the mind silently (to avoid repeating job assignment)
|
||||||
_roles.MindAddRole(mind, new InitialInfectedRoleComponent { PrototypeId = component.PatientZeroPrototypeId }, silent: true);
|
_roles.MindAddRole(mind, new InitialInfectedRoleComponent { PrototypeId = component.PatientZeroPrototypeId }, silent: true);
|
||||||
|
EnsureComp<InitialInfectedComponent>(entity);
|
||||||
|
|
||||||
//Add the zombie components and grace period
|
//Add the zombie components and grace period
|
||||||
var pending = EnsureComp<PendingZombieComponent>(entity);
|
var pending = EnsureComp<PendingZombieComponent>(entity);
|
||||||
|
|||||||
Reference in New Issue
Block a user