1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-07-01 14:51:34 +00:00

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