Skip to content

Commit

Permalink
Add IconHash to the list of resources that need to be published in st…
Browse files Browse the repository at this point in the history
…artPublish
  • Loading branch information
jvyden committed Nov 3, 2023
1 parent b035cd7 commit 387bd95
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ private static bool VerifyLevel(GameLevelRequest body, GameUser user, Logger log
List<string> hashes = new();
hashes.AddRange(body.XmlResources);
hashes.Add(body.RootResource);
hashes.Add(body.IconHash);

//Remove all invalid or GUID assets
hashes.RemoveAll(r => r == "0" || r.StartsWith('g') || string.IsNullOrWhiteSpace(r));
Expand Down

0 comments on commit 387bd95

Please sign in to comment.