Skip to content

Commit 7ffddee

Browse files
author
Björn Ritzl
committed
Reverted one frame wait fix
1 parent 886656d commit 7ffddee

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

ludobits/m/flow.lua

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -238,12 +238,8 @@ function M.load(collection_url)
238238
instance.on_message = function(message_id, message, sender)
239239
if message_id == hash("proxy_loaded") and sender == collection_url then
240240
msg.post(sender, "enable")
241-
-- we should wait one frame to ensure that the loaded collection has
242-
-- been enabled
243241
instance.on_message = nil
244-
instance.condition = function()
245-
return true
246-
end
242+
instance.state = READY
247243
end
248244
end
249245
msg.post(collection_url, "load")

0 commit comments

Comments
 (0)