aboutsummaryrefslogtreecommitdiff
path: root/src/lua/embed/boot.lua.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-08-01 20:28:19 +0800
committerchai <chaifix@163.com>2018-08-01 20:28:19 +0800
commit2f595dccbf1657ad7e2a502bf72b15dcfe74b8c7 (patch)
tree5ac56041f039dc4c6dd9af6f8aa3765361c495b5 /src/lua/embed/boot.lua.h
parent7398463cd602c4b355f5b25ecf3049489ec14ea6 (diff)
*update
Diffstat (limited to 'src/lua/embed/boot.lua.h')
-rw-r--r--src/lua/embed/boot.lua.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/embed/boot.lua.h b/src/lua/embed/boot.lua.h
index 2067953..e0c43ee 100644
--- a/src/lua/embed/boot.lua.h
+++ b/src/lua/embed/boot.lua.h
@@ -33,7 +33,7 @@ local function safecall(func, ...)
end
function jin.core.run()
- safecall(jin.core.load)
+ safecall(jin.core.onLoad)
local previous = jin.time.second()
local SEC_PER_UPDATE = 1 / conf.fps
local dt = SEC_PER_UPDATE