diff options
author | chai <chaifix@163.com> | 2018-07-28 23:44:32 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-07-28 23:44:32 +0800 |
commit | e9dcb75fb3cdbabd7152b0303af4dc27b4bcca3d (patch) | |
tree | a3b3c765780a4304306ee37da33fadfdfe8857d2 /src/lua/embed/boot.lua.h | |
parent | 7cce806948349c77a9863e6c5328d20f463f8b6c (diff) |
*update
Diffstat (limited to 'src/lua/embed/boot.lua.h')
-rw-r--r-- | src/lua/embed/boot.lua.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lua/embed/boot.lua.h b/src/lua/embed/boot.lua.h index da1feac..ab241f1 100644 --- a/src/lua/embed/boot.lua.h +++ b/src/lua/embed/boot.lua.h @@ -65,6 +65,9 @@ function jin.core.run() end safecall(onEvent, e) end + if not running() then + break + end safecall(onUpdate, dt) -- bind to default render buffer unbind() |