Post-merge cleanup and improvements for #655
This commit is contained in:
@@ -63,7 +63,7 @@ void WindowsManagerService::Update()
|
||||
WindowsManager::WindowsLocker.Lock();
|
||||
for (auto& win : WindowsManager::Windows)
|
||||
{
|
||||
if (win->IsVisible())
|
||||
if (win && win->IsVisible())
|
||||
win->OnUpdate(deltaTime);
|
||||
}
|
||||
WindowsManager::WindowsLocker.Unlock();
|
||||
|
||||
Reference in New Issue
Block a user