if (!ent.Comp.PublishEnabled)
return;
- ent.Comp.PublishEnabled = false;
- ent.Comp.NextPublish = _timing.CurTime + TimeSpan.FromSeconds(ent.Comp.PublishCooldown);
-
if (!TryGetArticles(ent, out var articles))
return;
if (!CanUse(msg.Actor, ent.Owner))
return;
+ ent.Comp.PublishEnabled = false;
+ ent.Comp.NextPublish = _timing.CurTime + TimeSpan.FromSeconds(ent.Comp.PublishCooldown);
+
string? authorName = null;
if (_idCardSystem.TryFindIdCard(msg.Actor, out var idCard))
authorName = idCard.Comp.FullName;