Fix non-scoreboard code battles, closes #1023
parent
6b1dd5dd8b
commit
387b7b5396
|
@ -5843,6 +5843,7 @@ void CRobotMain::CreateCodeBattleInterface()
|
||||||
pw->CreateButton(pos, ddim, 13, EVENT_CODE_BATTLE_SPECTATOR);
|
pw->CreateButton(pos, ddim, 13, EVENT_CODE_BATTLE_SPECTATOR);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!m_scoreboard) return;
|
||||||
pos.y += ddim.y;
|
pos.y += ddim.y;
|
||||||
ddim.y = textHeight;
|
ddim.y = textHeight;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
Loading…
Reference in New Issue