[General] Empty strings should be sent too

This commit is contained in:
Koncord 2017-09-04 04:03:02 +08:00
parent d904628103
commit f5e23d5fc6

View file

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