diff --git a/Facepunch.Steamworks/Structs/UgcEditor.cs b/Facepunch.Steamworks/Structs/UgcEditor.cs index ff8e81d..8181792 100644 --- a/Facepunch.Steamworks/Structs/UgcEditor.cs +++ b/Facepunch.Steamworks/Structs/UgcEditor.cs @@ -45,6 +45,9 @@ internal Editor( WorkshopFileType filetype ) : this() string MetaData; public Editor WithMetaData( string t ) { this.MetaData = t; return this; } + string ChangeLog; + public Editor WithChangeLog( string t ) { this.ChangeLog = t; return this; } + string Language; public Editor InLanguage( string t ) { this.Language = t; return this; } @@ -129,7 +132,10 @@ public async Task SubmitAsync( IProgress progress = null ) result.Result = Steamworks.Result.Fail; - var updating = SteamUGC.Internal.SubmitItemUpdate( handle, "" ); + if ( ChangeLog == null ) + ChangeLog = ""; + + var updating = SteamUGC.Internal.SubmitItemUpdate( handle, ChangeLog ); while ( !updating.IsCompleted ) {