NetPlayServer: handle port forwarding in constructor

This commit is contained in:
Michael M 2017-08-07 00:27:04 -07:00
commit b5d070b0cf
5 changed files with 11 additions and 31 deletions

View file

@ -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