[MISC] tried to send the message to the current lobby, didn't work.
This commit is contained in:
@@ -24,7 +24,6 @@ namespace SharedClientServer
|
||||
public static (string,string) GetUsernameAndMessage(byte[] json)
|
||||
{
|
||||
string msg = Encoding.ASCII.GetString(json);
|
||||
Debug.WriteLine("Sent data: {0}", msg);
|
||||
dynamic payload = JsonConvert.DeserializeObject(msg);
|
||||
|
||||
return (payload.username, payload.message);
|
||||
|
||||
Reference in New Issue
Block a user