1
0
Fork 0
mirror of https://github.com/sbrl/Nibriboard.git synced 2018-01-10 21:33:49 +00:00

[server] Bugfix: Fix broadcast call.

This commit is contained in:
Starbeamrainbowlabs 2017-02-19 11:34:34 +00:00
parent 494b0561bb
commit 45231ab717

View file

@ -179,7 +179,7 @@ namespace Nibriboard.Client
// Tell everyone else about the new client // Tell everyone else about the new client
ClientStatesMessage newClientNotification = new ClientStatesMessage(); ClientStatesMessage newClientNotification = new ClientStatesMessage();
newClientNotification.ClientStates.Add(GenerateStateSnapshot()); newClientNotification.ClientStates.Add(GenerateStateSnapshot());
manager.Broadcast(newClientNotification); manager.Broadcast(this, newClientNotification);
// Send the new client a response to their handshake request // Send the new client a response to their handshake request
HandshakeResponseMessage handshakeResponse = new HandshakeResponseMessage(); HandshakeResponseMessage handshakeResponse = new HandshakeResponseMessage();