feat: window is open

This commit is contained in:
2025-10-04 14:56:39 +02:00
parent 81c4e08e36
commit 7f08e28a04
3 changed files with 6 additions and 1 deletions

View File

@ -31,7 +31,7 @@ Engine::Engine() {
}
bool Engine::Running() const {
return m_isRunning;
return m_isRunning && m_window->IsOpen();
}
void Engine::Stop() {