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

The game will not switch to development profile if online profile is not logged in

git-svn-id: http://svn.net-core.org/repos/t-engine4@2542 51575b47-30f0-44d4-a5cc-537603b46e54
parent c3376eb9
No related branches found
No related tags found
No related merge requests found
......@@ -235,7 +235,7 @@ function _M:instanciate(mod, name, new_game, no_reboot)
local hash_valid, hash_err = profile:checkModuleHash(mod.version_name, fmd5)
-- If bad hash, switch to dev profile
if not hash_valid then
if not hash_valid and not profile.auth then
print("[PROFILE] switching to dev profile")
_G.profile = engine.PlayerProfile.new("dev")
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