Fix non-scoreboard code battles, closes #1023

1008-fix
krzys-h 2017-11-04 11:23:08 +01:00
parent 6b1dd5dd8b
commit 387b7b5396
1 changed files with 1 additions and 0 deletions

View File

@ -5843,6 +5843,7 @@ void CRobotMain::CreateCodeBattleInterface()
pw->CreateButton(pos, ddim, 13, EVENT_CODE_BATTLE_SPECTATOR);
}
if (!m_scoreboard) return;
pos.y += ddim.y;
ddim.y = textHeight;
int i = 0;