diff options
author | Patric Stout <truebrain@openttd.org> | 2021-08-15 00:17:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-15 00:17:10 +0200 |
commit | 579f393374c4fae2458523a674c453349fce7c59 (patch) | |
tree | 3220edefac83c59fcd351056c4f8e54b5b5241c4 /src/openttd.cpp | |
parent | 1ef4d3cf19160745cd473d5de09f6f53bc6fd240 (diff) | |
download | openttd-579f393374c4fae2458523a674c453349fce7c59.tar.xz |
Add: open Online Players GUI on starting/joining a server (#9479)
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index 0ea1fa75d..db2bb3bdb 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -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) |