RatAttack: added new VA Event ((RatAttack.invalidRatsignal))
Fires when a signal doesn’t match the current RegEx. By default warns with TTS and writes the signal to `%appdata%\RatAttack\ratsignal.error.log`.
This commit is contained in:
parent
e14512f076
commit
6633af6060
2 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ namespace RatAttack
|
|||
catch (ArgumentException e)
|
||||
{
|
||||
Log.Error(e.Message);
|
||||
Commands.TriggerEvent("RatAttack.invalidRatsignal", parameters: new dynamic[] { new string[] { ratsignal.Signal } });
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue