Add: open Online Players GUI on starting/joining a server (#9479)

This commit is contained in:
Patric Stout
2021-08-15 00:17:10 +02:00
committed by GitHub
parent 1ef4d3cf19
commit 579f393374
3 changed files with 21 additions and 13 deletions

View File

@@ -65,6 +65,7 @@
#include "viewport_sprite_sorter.h"
#include "framerate_type.h"
#include "industry.h"
#include "network/network_gui.h"
#include "linkgraph/linkgraphschedule.h"
@@ -884,6 +885,8 @@ static void MakeNewGameDone()
CheckEngines();
CheckIndustries();
MarkWholeScreenDirty();
if (_network_server && !_network_dedicated) ShowClientList();
}
static void MakeNewGame(bool from_heightmap, bool reset_settings)