Merge pull request #8285 from gemu2015/scripter-update

add scripter RulesProcessEvent
This commit is contained in:
Theo Arends 2020-04-26 12:05:47 +02:00 committed by GitHub
commit f09d0a5c78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4844,6 +4844,10 @@ void ScriptJsonAppend(void) {
#endif //USE_SCRIPT_JSON_EXPORT
bool RulesProcessEvent(char *json_event) {
if (bitRead(Settings.rule_enabled, 0)) Run_Scripter(">E",2,json_event);
}
/*********************************************************************************************\
* Interface
\*********************************************************************************************/