Small Fixes
- onEvent now skips passing the custom event "other_event" - small error handling for xml lua errors
This commit is contained in:
@@ -153,6 +153,9 @@ return function(name, basalt)
|
||||
end,
|
||||
|
||||
sendEvent = function(self, event, ...)
|
||||
if(event=="other_event")or(event=="custom_event")then
|
||||
return eventSystem:sendEvent(event, self, ...)
|
||||
end
|
||||
return eventSystem:sendEvent(event, self, event, ...)
|
||||
end,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user