3
0
mirror of https://github.com/britzl/monarch.git synced 2025-09-28 02:22:20 +02:00

Make sure to also reload pre-loaded screens if required

Fixes #39
This commit is contained in:
Björn Ritzl
2019-03-05 00:21:23 +01:00
parent 38f95e0b5b
commit 7e2ff2990c
6 changed files with 267 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
function init(self)
local monarch = require "monarch.monarch"
local data = monarch.data(hash("screen_preload"))
data.count = data.count + 1
end