mirror of
https://github.com/britzl/monarch.git
synced 2025-09-27 18:12:22 +02:00
Null fix when handling transitions
This commit is contained in:
@@ -79,8 +79,10 @@ function M.create(node)
|
||||
|
||||
-- Forward on_message calls here
|
||||
function instance.handle(message_id, message, sender)
|
||||
if transitions[message_id] then
|
||||
transitions[message_id](sender)
|
||||
end
|
||||
end
|
||||
|
||||
-- Specify the transition function when this node is transitioned
|
||||
-- to
|
||||
|
Reference in New Issue
Block a user