Skip to content
Snippets Groups Projects
Commit 17b6e3c8 authored by DarkGod's avatar DarkGod
Browse files

plop

parent 78c05e12
No related branches found
No related tags found
No related merge requests found
......@@ -581,6 +581,10 @@ function _M:tryAuth()
core.profile.pushOrder(table.serialize{o="Login", l=self.login, p=self.pass})
end
self.waiting_auth = true
if __module_extra_info.sleep_on_auth then
core.game.sleep((tonumber(__module_extra_info.sleep_on_auth) or 5) * 1000)
self:waitEvent("Auth", function(e) end, 10000)
end
end
function _M:logOut()
......
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