diff --git a/KeepersCompound.Lightmapper/Program.cs b/KeepersCompound.Lightmapper/Program.cs index 9d2d931..31ddf91 100644 --- a/KeepersCompound.Lightmapper/Program.cs +++ b/KeepersCompound.Lightmapper/Program.cs @@ -49,11 +49,12 @@ public class LightCommand public void Run() { Timing.Reset(); - - var lightMapper = new LightMapper(InstallPath, CampaignName, MissionName); - lightMapper.Light(FastPvs); - lightMapper.Save(OutputName); - + Timing.TimeStage("Total", () => + { + var lightMapper = new LightMapper(InstallPath, CampaignName, MissionName); + lightMapper.Light(FastPvs); + lightMapper.Save(OutputName); + }); Timing.LogAll(); } } \ No newline at end of file