Restructured code and added bool to stop client from spamming Snapshots to a server when
it wasn't connected to one.
This commit is contained in:
@@ -50,7 +50,7 @@ private:
|
||||
void ReadFromClients();
|
||||
void InputLoop();
|
||||
|
||||
|
||||
// Network functions
|
||||
int Receive(char* data, size_t length);
|
||||
void Send(Package& package, int playerID);
|
||||
void Send(Package& package);
|
||||
|
||||
Reference in New Issue
Block a user