mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Make client report a newer version number to the server than 2011-07-31 does and make the server enforce it
This commit is contained in:
parent
7244f09111
commit
bdf54908aa
4 changed files with 13 additions and 2 deletions
|
@ -431,7 +431,7 @@ void Client::step(float dtime)
|
|||
snprintf((char*)&data[23], PASSWORD_SIZE, "%s", m_password.c_str());
|
||||
|
||||
// This should be incremented in each version
|
||||
writeU16(&data[51], 1);
|
||||
writeU16(&data[51], 2);
|
||||
|
||||
// Send as unreliable
|
||||
Send(0, data, false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue