From 910e6de7d7a3f980eb9b2d48d35a6a196ff00266 Mon Sep 17 00:00:00 2001 From: Ceres <1281+ceres@giteauser> Date: Fri, 18 Sep 2026 19:47:25 +0200 Subject: [PATCH] Allow headless game updates without a view --- source/ps/Game.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/ps/Game.cpp b/source/ps/Game.cpp index b296db34a9..8112bfd406 100644 --- a/source/ps/Game.cpp +++ b/source/ps/Game.cpp @@ -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())