Skip to content

Commit

Permalink
Fix missing return in on_event()
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Mar 17, 2018
1 parent d3713de commit 96c5a1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data/lua/on_event.lua
Expand Up @@ -20,6 +20,7 @@ local function on_event(eventname, arg1, arg2)
if string.match(eventname, ",") then
for elem in utils.split(eventname or "") do
on_event(elem, arg1, arg2)
return
end
end
local priority = 0
Expand Down

0 comments on commit 96c5a1c

Please sign in to comment.