Skip to content

Commit

Permalink
FIXED: Changing to Private or Hidden for Visibility fails to change t…
Browse files Browse the repository at this point in the history
…he item.
  • Loading branch information
ZeqMacaw committed Mar 4, 2020
1 parent d0b523b commit e64dca3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions CrowbarSteamPipe/CrowbarSteamPipe.vb
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Public Module CrowbarSteamPipe

#If DEBUG Then
'For debugging, keep console open until Enter Is pressed.
'Console.ReadLine()
Console.ReadLine()
#End If
End Try
End Sub
Expand Down Expand Up @@ -1544,10 +1544,12 @@ Public Module CrowbarSteamPipe
Dim output As Steamworks.ERemoteStoragePublishedFileVisibility
If input = "Public" Then
output = Steamworks.ERemoteStoragePublishedFileVisibility.k_ERemoteStoragePublishedFileVisibilityPublic
ElseIf input = "Private" Then
output = Steamworks.ERemoteStoragePublishedFileVisibility.k_ERemoteStoragePublishedFileVisibilityPrivate
Else
ElseIf input = "FriendsOnly" Then
output = Steamworks.ERemoteStoragePublishedFileVisibility.k_ERemoteStoragePublishedFileVisibilityFriendsOnly
ElseIf input = "Unlisted" Then
output = Steamworks.ERemoteStoragePublishedFileVisibility.k_ERemoteStoragePublishedFileVisibilityUnlisted
Else
output = Steamworks.ERemoteStoragePublishedFileVisibility.k_ERemoteStoragePublishedFileVisibilityPrivate
End If
Return output
End Function
Expand Down

0 comments on commit e64dca3

Please sign in to comment.