Disable effects on Actors set not to render locally

These are purely visual
This commit is contained in:
Boondorl 2024-07-31 01:01:37 -04:00 committed by Rachael Alexanderson
commit 3d3cd88868
2 changed files with 2 additions and 2 deletions

View file

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