Browse Source

Change announcers to use `Flush()` instead of `Say()`

This will prevent commands' oputput from having a nickname in front of
them.
feature_improvement
Anton Tarasenko 2 years ago
parent
commit
e01a257409
  1. 2
      sources/CommandAnnouncer.uc

2
sources/CommandAnnouncer.uc

@ -273,7 +273,7 @@ private final function AnnounceTemplate(
.TextArg(P("instigator"), instigatorName)
.TextArg(P("target"), targetName);
result = template.CollectFormattedM();
writer.Say(result);
writer.Write(result).Flush();
_.memory.Free(result);
}

Loading…
Cancel
Save