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

plopo

parent 1ac7ec10
No related branches found
No related tags found
No related merge requests found
......@@ -141,12 +141,13 @@ function _M:login()
end
function _M:loginSteam()
local d = self:simpleWaiter("Login...", "Login in your account, please wait...") core.display.forceRedraw()
core.steam.sessionTicket(function(ticket)
if not ticket then
Dialog:simplePopup("Steam", "Steam client not found.")
d:done()
return
end
local d = self:simpleWaiter("Login...", "Login in your account, please wait...") core.display.forceRedraw()
profile:performloginSteam((ticket:toHex()))
profile:waitFirstAuth()
d:done()
......
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