Skip to content

Commit

Permalink
Fix non-scoreboard code battles, closes colobot#1023
Browse files Browse the repository at this point in the history
  • Loading branch information
krzys-h committed Nov 4, 2017
1 parent 6b1dd5d commit 387b7b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/level/robotmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 387b7b5

Please sign in to comment.