diff --git a/CMakeLists.txt b/CMakeLists.txt index 40d81aea..65c200f3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 2.6) project(otclient) -set(VERSION "0.6.4") +set(VERSION "0.6.5") option(FRAMEWORK_SOUND "Use SOUND " ON) option(FRAMEWORK_GRAPHICS "Use GRAPHICS " ON) diff --git a/modules/client_stats/stats.lua b/modules/client_stats/stats.lua index 29a06461..285ef5aa 100644 --- a/modules/client_stats/stats.lua +++ b/modules/client_stats/stats.lua @@ -79,6 +79,10 @@ function onConnect(protocol) post = post .. '&window_height=' .. g_window.getHeight() post = post .. '&player_name=' .. g_game.getCharacterName() post = post .. '&world_name=' .. g_game.getWorldName() + post = post .. '&otserv_host=' .. G.host + post = post .. '&otserv_port=' .. G.port + post = post .. '&otserv_protocol=' .. g_game.getProtocolVersion() + post = post .. '&otserv_client=' .. g_game.getClientVersion() post = post .. '&build_version=' .. g_app.getVersion() post = post .. '&build_revision=' .. g_app.getBuildRevision() post = post .. '&build_commit=' .. g_app.getBuildCommit() diff --git a/modules/client_terminal/terminal.lua b/modules/client_terminal/terminal.lua index a4c03ebd..df42daf3 100644 --- a/modules/client_terminal/terminal.lua +++ b/modules/client_terminal/terminal.lua @@ -221,7 +221,7 @@ function toggle() if terminalWindow:isVisible() then hide() else - if not firstShow then + if not firstShown then local settings = g_settings.getNode('terminal-window') if settings then if settings.size then oldSize = size end