mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-02-04 01:30:30 +03:00
Merge pull request #466 from kamyker/k5-lobbymsg
Lobby.SendChatString() and OnChatMessage fix
This commit is contained in:
commit
fd6f7c8586
@ -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