fix: zombies should not emit any radio or chatter events
This commit is contained in:
parent
4154b66cc2
commit
eec4101daa
3 changed files with 11 additions and 7 deletions
|
|
@ -374,7 +374,7 @@ void Bot::checkForChat () {
|
|||
void Bot::sendToChat (StringRef message, bool teamOnly) {
|
||||
// this function prints saytext message to all players
|
||||
|
||||
if (message.empty () || !cv_chat) {
|
||||
if (m_isCreature || message.empty () || !cv_chat) {
|
||||
return;
|
||||
}
|
||||
issueCommand ("%s \"%s\"", teamOnly ? "say_team" : "say", message);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue