Hotswapping

This commit is contained in:
qfx 2020-01-27 00:44:52 +02:00
parent c30480520f
commit 004e6cb34a

View File

@ -119,6 +119,7 @@ function element:new()
end
--Hotswapping code
function element:reLoader(newFunc)
self.renderer = newFunc
self.context:bubbleUpdate()