Merge pull request #921 from EgzoT/EgzoT-compiler_info_on_start_screen

Add compiler info to version label in start screen
This commit is contained in:
Henrique Santiago 2017-12-22 02:43:15 -02:00 committed by GitHub
commit a7b910a755
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ function init()
clientVersionLabel = background:getChildById('clientVersionLabel') clientVersionLabel = background:getChildById('clientVersionLabel')
clientVersionLabel:setText(g_app.getName() .. ' ' .. g_app.getVersion() .. '\n' .. clientVersionLabel:setText(g_app.getName() .. ' ' .. g_app.getVersion() .. '\n' ..
'Rev ' .. g_app.getBuildRevision() .. ' ('.. g_app.getBuildCommit() .. ')\n' .. 'Rev ' .. g_app.getBuildRevision() .. ' ('.. g_app.getBuildCommit() .. ')\n' ..
'Built on ' .. g_app.getBuildDate()) 'Built on ' .. g_app.getBuildDate() .. '\n' .. g_app.getBuildCompiler())
if not g_game.isOnline() then if not g_game.isOnline() then
addEvent(function() g_effects.fadeIn(clientVersionLabel, 1500) end) addEvent(function() g_effects.fadeIn(clientVersionLabel, 1500) end)