Allow headless game updates without a view

This commit is contained in:
Ceres authored and Phosit committed 2026-10-22 16:13:00 +02:00
1 parent 642a492c92
commit 910e6de7d7
1 file changed
+2 -1
+2 -1
View File
@@ -446,7 +446,8 @@ void CGame::Update(const double deltaRealTime, bool doInterpolate)
g_GUI->SendEventToAll(EventNameSimulationUpdate);
}
GetView()->GetLOSTexture().MakeDirty();
if (m_GameView)
m_GameView->GetLOSTexture().MakeDirty();
}
if (CRenderer::IsInitialised())