Fixed bug #13522
which caused game names to disappear because the location of the ui wasn't initialized while building the gamelist.
This commit is contained in:
parent
8204db607c
commit
5307b5d020
1 changed files with 2 additions and 0 deletions
|
@ -113,6 +113,8 @@ lobby::lobby(display& disp, const config& cfg, chat& c, config& gamelist) :
|
|||
current_game_(0)
|
||||
{
|
||||
game_config::debug = false;
|
||||
const SDL_Rect pos = { 0, 0, disp.video().getx(), disp.video().gety() };
|
||||
ui::set_location(pos);
|
||||
gamelist_updated();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue