Adds a bool (#5372)

This commit is contained in:
Pieter-Jan Briers
2021-11-19 07:36:25 +01:00
committed by GitHub
parent fc22e71ae1
commit 86a7eece40
5 changed files with 23 additions and 14 deletions

View File

@@ -61,7 +61,7 @@ namespace Content.Server.Advertise
return;
if (_prototypeManager.TryIndex(advertise.PackPrototypeId, out AdvertisementsPackPrototype? advertisements))
_chatManager.EntitySay(advertise.Owner, Loc.GetString(_random.Pick(advertisements.Advertisements)));
_chatManager.EntitySay(advertise.Owner, Loc.GetString(_random.Pick(advertisements.Advertisements)), hideChat: true);
if(refresh)
RefreshTimer(uid, true, advertise);