NetPlayServer: handle port forwarding in constructor

This commit is contained in:
Michael M committed 2017-08-13 18:50:52 -07:00
1 parent 4b50e77a26
commit b5d070b0cf
5 files changed
+11 -31

No files matched your search

@@ -34,9 +34,7 @@ public:
std::string game_name;
u16 listen_port = 0;
#ifdef USE_UPNP
bool forward_port;
#endif
bool forward_port = false;
};
class NetPlayJoinConfig : public NetPlayLaunchConfig