Serialize sunlight
This commit is contained in:
parent
b3ba1cf49e
commit
c0db01ffd7
1 changed files with 6 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue