def _manager_update_task(self, task):
        """ Update task which gets called before the rendering, and updates
        all managers."""
        self.task_scheduler.step()
        self._listener.update()
        self.debugger.update()
        self.daytime_mgr.update()
        self.light_mgr.update()

        if Globals.clock.get_frame_count() >= 10 and self.loading_screen.fullscreen_node.hasParent():
            self.debug("Hiding loading screen after 10 pre-rendered frames.")
            self.loading_screen.remove()

        return task.cont
 Update task which gets called before the rendering, and updates
        all managers.
metadrive/render_pipeline/rpcore/render_pipeline.py