aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/EventManager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/EventManager.py b/src/EventManager.py
index f10ebcd4..cef82f26 100644
--- a/src/EventManager.py
+++ b/src/EventManager.py
@@ -165,7 +165,7 @@ class EventRoot(object):
hook_array.insert(i, new_hook)
break
if not hooked:
- hook_array.append(new_hook)
+ hook_array.insert(0, new_hook)
return new_hook
def _call(self, path: typing.List[str], kwargs: dict, safe: bool,