[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 (compress)
{
if (!str.empty())
RakNet::RakString::SerializeCompressed(str.c_str(), bs);
}
RakNet::RakString::SerializeCompressed(str.c_str(), bs);
else
{
RakNet::RakString rstr;

Loading…
Cancel
Save