aboutsummaryrefslogtreecommitdiff
path: root/src/EventManager.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/EventManager.py')
-rw-r--r--src/EventManager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/EventManager.py b/src/EventManager.py
index b09847c4..db5475cf 100644
--- a/src/EventManager.py
+++ b/src/EventManager.py
@@ -150,7 +150,7 @@ class EventRoot(object):
hook_position = 0
for i, other_hook in enumerate(hook_array):
- if other_hook.priority > new_hook.priority:
+ if new_hook.priority > other_hook.priority:
hook_position = i
break