improvement

This commit is contained in:
Elmārs Āboliņš 2021-06-22 14:20:56 +03:00
parent f85b19c118
commit 739ec4ced2

View File

@ -21,7 +21,10 @@ function scene.new(cached)
subscriptions = {}, subscriptions = {},
buffer = {} buffer = {}
} }
return setmetatable(self, scene) local newScene = setmetatable(self, scene)
newScene:activate()
return newScene
end end
local skipframes = 10 local skipframes = 10