mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-27 07:05:50 +03:00
Lobby.SendChatString() and OnChatMessage fix
This commit is contained in:
parent
950b256c27
commit
c7ac4997ed
@ -133,7 +133,8 @@ public void SetMemberData( string key, string value )
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public bool SendChatString( string message )
|
public bool SendChatString( string message )
|
||||||
{
|
{
|
||||||
var data = System.Text.Encoding.UTF8.GetBytes( message );
|
//adding null terminator as it's used in Helpers.MemoryToString
|
||||||
|
var data = System.Text.Encoding.UTF8.GetBytes( message + '\0' );
|
||||||
return SendChatBytes( data );
|
return SendChatBytes( data );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user