Add line endings to formats.

Lua reads from sockets line by line, so this simplifies a whole lot of lua code
This commit is contained in:
Marc Di Luzio 2015-01-25 13:17:47 +00:00
parent f17b3a17fe
commit 0ab3da69fc
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@
#include <stdlib.h>
#include <iostream>
#define TTRTS_HANDSHAKE_FORMAT "player %u name %s"
#define TTRTS_HANDSHAKE_FORMAT "player %u name %s\n"
//======================================================================================================================
// Structs for net management