mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
fix(event): place new handler in correct position in handler list
This commit is contained in:
parent
1d28c06104
commit
391e299865
1 changed files with 1 additions and 1 deletions
|
|
@ -63,5 +63,5 @@ void IEvtQueueRegister(EvtContext* context, EVENTID id, int32_t (*handler)(const
|
||||||
h = handlerList->Link(h)->Next();
|
h = handlerList->Link(h)->Next();
|
||||||
}
|
}
|
||||||
|
|
||||||
handlerList->LinkNode(evtHandler, 1, h);
|
handlerList->LinkNode(evtHandler, 2, h);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue