From 2f63117c328d38fbd0ae6e765fca8974d7e11e05 Mon Sep 17 00:00:00 2001 From: Alex Mein Date: Mon, 28 Oct 2019 15:40:30 +0000 Subject: [PATCH] Exposed the full result of the Vote method --- Facepunch.Steamworks/Structs/UgcItem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Facepunch.Steamworks/Structs/UgcItem.cs b/Facepunch.Steamworks/Structs/UgcItem.cs index 0af8321..820a581 100644 --- a/Facepunch.Steamworks/Structs/UgcItem.cs +++ b/Facepunch.Steamworks/Structs/UgcItem.cs @@ -284,10 +284,10 @@ public async Task RemoveFavorite() /// /// Allows the user to rate a workshop item up or down. /// - public async Task Vote( bool up ) + public async Task Vote( bool up ) { var r = await SteamUGC.Internal.SetUserItemVote( Id, up ); - return r?.Result == Result.OK; + return r?.Result; } ///