Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions msu/systems/serialization/metadata_emulator.nut
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@
{
this.Data = {};
this.Version = ::Const.Serialization.Version;
// Have to initialize these to empty strings otherwise MSU SerDe
// complains about null being written as string on the very first
// serialization using MSU SerDe during a new campaign.
this.Name = "";
this.ModificationDate = "";
this.CreationDate = "";
this.FileName = "";
}

// this would ideally be an alternative static constructor
Expand Down