mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-07-21 20:56:30 +03:00
Fixed truncated session ticket array (#828)
* Modified GetAuthSessionTicket to create array of max size 2560 based on correlating API in `isteamuser.h`. This fixes a bug where the session ticket retrieved is truncated in comparison with SteamWorks for the same API. Co-authored-by: Jeff Campbell <jeff@zapdot.com>
This commit is contained in:
parent
aa87fe557f
commit
dcfaa86af1
@ -314,7 +314,7 @@ namespace Steamworks
|
||||
/// </summary>
|
||||
public static unsafe AuthTicket GetAuthSessionTicket( NetIdentity identity )
|
||||
{
|
||||
var data = Helpers.TakeBuffer( 1024 );
|
||||
var data = Helpers.TakeBuffer( 2560 );
|
||||
|
||||
fixed ( byte* b = data )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user