Fix #194
This commit is contained in:
parent
9e4a9433ca
commit
90f1244ab4
|
@ -640,7 +640,7 @@ function getBottomPanel()
|
|||
end
|
||||
|
||||
function onLeftPanelVisibilityChange(leftPanel, visible)
|
||||
if not visible then
|
||||
if not visible and g_game.isOnline() then
|
||||
local children = leftPanel:getChildren()
|
||||
for i=1,#children do
|
||||
children[i]:setParent(gameRightPanel)
|
||||
|
|
|
@ -189,6 +189,7 @@ void Game::processGameStart()
|
|||
|
||||
void Game::processGameEnd()
|
||||
{
|
||||
m_online = false;
|
||||
g_lua.callGlobalField("g_game", "onGameEnd");
|
||||
|
||||
// reset game state
|
||||
|
|
Loading…
Reference in New Issue