fixed by comment "Need to add return after this line still."

This commit is contained in:
zsender 2018-01-15 22:43:35 +02:00
parent a4f79d68ae
commit 6c6f327606

View file

@ -631,11 +631,11 @@ namespace AsterNET.Manager
{ {
var currentEvent = registeredEventHandlers[eventHash]; var currentEvent = registeredEventHandlers[eventHash];
currentEvent(e); currentEvent(e);
return;
} }
else else
{ {
fireEvent(UnhandledEvent, e); fireEvent(UnhandledEvent, e);
return;
} }
if (fireAllEvents) if (fireAllEvents)