Skip to content

Commit

Permalink
Merge pull request #14 from szczepix/feature/tags-null-check
Browse files Browse the repository at this point in the history
Added null check to tags
  • Loading branch information
Gwindalmir authored Aug 12, 2018
2 parents 829f5e2 + 7c8f371 commit 32aad0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WorkshopToolCommon/GameBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ static bool ProcessItemsUpload(WorkshopType type, List<string> paths, Options op
var tags = options.Tags;

// If user comma-separated the tags, split them
if(tags.Length == 1)
if(tags != null && tags.Length == 1)
{
tags = tags[0].Split(',', ';');
}
Expand Down

0 comments on commit 32aad0d

Please sign in to comment.