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

Fixed the flickering of the tip on the loadscreen

git-svn-id: http://svn.net-core.org/repos/t-engine4@5989 51575b47-30f0-44d4-a5cc-537603b46e54
parent e18d0fdb
No related branches found
No related tags found
No related merge requests found
......@@ -554,6 +554,7 @@ function _M:instanciate(mod, name, new_game, no_reboot)
save:close()
-- Display the loading bar
profile.waiting_auth_no_redraw = true
self:loadScreen(mod)
core.wait.addMaxTicks(savesize)
......@@ -678,6 +679,7 @@ function _M:instanciate(mod, name, new_game, no_reboot)
if engine.interface.PlayerHotkeys then engine.interface.PlayerHotkeys:loadQuickHotkeys(mod.short_name, Savefile.hotkeys_file) end
core.wait.disable()
profile.waiting_auth_no_redraw = false
core.display.resetAllFonts("normal")
......
......@@ -410,7 +410,7 @@ function _M:waitFirstAuth(timeout)
timeout = timeout or 40
while self.waiting_auth and timeout > 0 do
if not first then
core.display.forceRedraw()
if not self.waiting_auth_no_redraw then core.display.forceRedraw() end
core.game.sleep(50)
end
local evt = core.profile.popEvent()
......
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