Harmonizes scores for Lua-triggered alerts

Addresses #5315
This commit is contained in:
Simone Mainardi 2021-05-12 12:56:12 +02:00
parent e315669d5d
commit d45ab54934
11 changed files with 18 additions and 12 deletions

View file

@ -660,7 +660,7 @@ local function processStoreAlertFromQueue(alert)
alert.dropped
)
type_info:set_score(100)
type_info:set_score_error()
else
traceError(TRACE_ERROR, TRACE_CONSOLE, "Unknown alert type " .. (alert.alert_id or ""))
end