fix: add m_Connected default value

This commit is contained in:
2021-09-01 15:29:04 +02:00
parent d2340b3858
commit 2a6ac699e5

View File

@@ -15,7 +15,7 @@ private:
ClientGame m_Game{m_Connexion.GetDispatcher()};
bool m_Connected;
public:
Client(){}
Client() : m_Connected(false){}
const ClientGame& getGame() const{ return m_Game; }
const ClientConnexion& getConnexion() const{ return m_Connexion; }