diff --git a/src/p_saveg.cpp b/src/p_saveg.cpp index 6c72d3a52..76c9841d4 100644 --- a/src/p_saveg.cpp +++ b/src/p_saveg.cpp @@ -1014,7 +1014,9 @@ void FLevelLocals::Serialize(FSerializer &arc, bool hubload) ("scrolls", Scrolls) ("automap", automap) ("interpolator", interpolator) - ("frozenstate", frozenstate); + ("frozenstate", frozenstate) + ("suncolor", SunColor) + ("sundirection", SunDirection); // Hub transitions must keep the current total time @@ -1025,6 +1027,9 @@ void FLevelLocals::Serialize(FSerializer &arc, bool hubload) { InitSkyMap(this); AirControlChanged(); + + levelMesh->SunColor = SunColor; + levelMesh->SunDirection = SunDirection; } Behaviors.SerializeModuleStates(arc);