[FIX] fix users not being sent with lobbies

This commit is contained in:
Sem van der Hoeven
2020-10-21 19:35:52 +02:00
parent 76cd392525
commit 24701f8bb3
7 changed files with 42 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
using System;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
@@ -10,6 +11,7 @@ namespace SharedClientServer
private int _score;
private bool _host;
[JsonConstructor]
public User(string username, int score, bool host)
{
_username = username;