mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-29 23:18:09 +03:00
Merge pull request #308 from TheCubicNoobik/SteamFriends-fix
Fix SteamFriends.GetRichPresence(key, value)
This commit is contained in:
commit
39952fe50e
@ -253,8 +253,12 @@ namespace Steamworks
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public static bool SetRichPresence( string key, string value )
|
public static bool SetRichPresence( string key, string value )
|
||||||
{
|
{
|
||||||
|
bool success = Internal.SetRichPresence( key, value );
|
||||||
|
|
||||||
|
if ( success )
|
||||||
richPresence[key] = value;
|
richPresence[key] = value;
|
||||||
return Internal.SetRichPresence( key, value );
|
|
||||||
|
return success;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user