mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-14 15:48:06 +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>
|
||||
public static bool SetRichPresence( string key, string value )
|
||||
{
|
||||
richPresence[key] = value;
|
||||
return Internal.SetRichPresence( key, value );
|
||||
bool success = Internal.SetRichPresence( key, value );
|
||||
|
||||
if ( success )
|
||||
richPresence[key] = value;
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -285,4 +289,4 @@ namespace Steamworks
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user