fix(event): place new handler in correct position in handler list

This commit is contained in:
fallenoak 2023-03-23 23:55:39 -05:00
parent 1d28c06104
commit 391e299865
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -63,5 +63,5 @@ void IEvtQueueRegister(EvtContext* context, EVENTID id, int32_t (*handler)(const
h = handlerList->Link(h)->Next();
}
handlerList->LinkNode(evtHandler, 1, h);
handlerList->LinkNode(evtHandler, 2, h);
}