working main menu
This commit is contained in:
@@ -69,6 +69,8 @@ void EnetServer::Update() {
|
||||
break;
|
||||
}
|
||||
} while (m_Host.CheckEvents(&event));
|
||||
} else if (service < 0) {
|
||||
m_Running = false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -102,5 +104,9 @@ void EnetServer::Destroy() {
|
||||
m_Host.Destroy();
|
||||
}
|
||||
|
||||
bool EnetServer::IsClosed() const {
|
||||
return !m_Running;
|
||||
}
|
||||
|
||||
} // namespace network
|
||||
} // namespace blitz
|
||||
|
||||
Reference in New Issue
Block a user