mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-13 23:28:11 +03:00
Lobby.SendChatString() and OnChatMessage fix
This commit is contained in:
parent
950b256c27
commit
c7ac4997ed
@ -133,7 +133,8 @@ namespace Steamworks.Data
|
||||
/// </summary>
|
||||
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 );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user