This commit is contained in:
nashmuhandes 2024-08-04 07:21:43 +08:00
commit a5b08f0fb1
8 changed files with 13 additions and 3 deletions

View file

@ -256,7 +256,7 @@ void FDynamicLight::Tick()
if (owned)
{
if (!target->state)
if (!target->state || !target->ShouldRenderLocally())
{
Deactivate();
return;