Skip to content

Commit

Permalink
fix for ByteProperty change
Browse files Browse the repository at this point in the history
  • Loading branch information
atenfyr committed Apr 16, 2022
1 parent e23de9f commit 541d2d4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions DataTableBaker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,13 @@ public UAsset Bake(Metadata[] allMods, List<string> optionalModIDs, byte[] super
{
Value = new FString(mod.AstroBuild?.ToString() ?? "", Encoding.ASCII),
});
y.AddNameReference(new FString("SyncMode"));
y.AddNameReference(new FString(codedSyncMode));
rows.Add(new BytePropertyData(columns[5])
{
ByteType = BytePropertyType.Long,
EnumType = y.AddNameReference(new FString("SyncMode")),
Value = y.AddNameReference(new FString(codedSyncMode))
ByteType = BytePropertyType.FName,
EnumType = new FName("SyncMode"),
EnumValue = new FName(codedSyncMode)
});
rows.Add(new StrPropertyData(columns[6])
{
Expand Down

0 comments on commit 541d2d4

Please sign in to comment.