diff options
-rw-r--r-- | util/helpers.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/helpers.lua b/util/helpers.lua index 80f72b3b..c8434794 100644 --- a/util/helpers.lua +++ b/util/helpers.lua @@ -14,6 +14,7 @@ function log_events(events, name, logger) name = name or tostring(events); function events.fire_event(event, ...) logger("debug", "%s firing event: %s", name, event); + return f(event, ...); end events[events.fire_event] = f; return events; |