[General] Empty strings should be sent too

0.6.1
Koncord 7 years ago
parent d904628103
commit f5e23d5fc6

@ -81,10 +81,7 @@ namespace mwmp
if (write) if (write)
{ {
if (compress) if (compress)
{ RakNet::RakString::SerializeCompressed(str.c_str(), bs);
if (!str.empty())
RakNet::RakString::SerializeCompressed(str.c_str(), bs);
}
else else
{ {
RakNet::RakString rstr; RakNet::RakString rstr;

Loading…
Cancel
Save