Skip to content
Snippets Groups Projects
Commit d5e9d4b1 authored by dg's avatar dg
Browse files

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@4323 51575b47-30f0-44d4-a5cc-537603b46e54
parent f2f27fd0
No related branches found
No related tags found
No related merge requests found
......@@ -411,6 +411,7 @@ function _M:instanciate(mod, name, new_game, no_reboot)
end
end
end
local hash_valid, hash_err
local t = core.game.getTime()
if config.settings.cheat then
hash_valid, hash_err = false, "cheat mode skipping validation"
......@@ -421,7 +422,6 @@ function _M:instanciate(mod, name, new_game, no_reboot)
table.sort(md5s)
local fmd5 = md5.sumhexa(table.concat(md5s))
print("[MODULE LOADER] module MD5", fmd5, "computed in ", core.game.getTime() - t)
local hash_valid, hash_err
if mod.short_name ~= "boot" then
hash_valid, hash_err = profile:checkModuleHash(mod.version_name, fmd5)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment