diff --git a/src/p_setup.cpp b/src/p_setup.cpp index fd04bb915..0e8528a2c 100644 --- a/src/p_setup.cpp +++ b/src/p_setup.cpp @@ -563,6 +563,13 @@ void P_SetupLevel(FLevelLocals *Level, int position, bool newGame) Level->StartLightning(); } + auto it = Level->GetThinkerIterator(); + AActor* ac; + // Initial setup of the dynamic lights. + while ((ac = it.Next())) + { + ac->SetDynamicLights(); + } } //