diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-01-27 13:52:29 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-01-27 13:52:29 -0800 |
| commit | bc218f9414bd6e4124eb223c7c69c5ac254befff (patch) | |
| tree | be3035b86794c43c1318e065b793169a6c3d62f7 /node | |
| parent | f102fd7f92225fbe39ae69dda716530a4e5457e9 (diff) | |
| download | infinitytier-bc218f9414bd6e4124eb223c7c69c5ac254befff.tar.gz infinitytier-bc218f9414bd6e4124eb223c7c69c5ac254befff.zip | |
little fix
Diffstat (limited to 'node')
| -rw-r--r-- | node/IncomingPacket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/IncomingPacket.cpp b/node/IncomingPacket.cpp index 1a60d13a..28b845b4 100644 --- a/node/IncomingPacket.cpp +++ b/node/IncomingPacket.cpp @@ -437,7 +437,7 @@ bool IncomingPacket::_doOK(const RuntimeEnvironment *RR,const SharedPtr<Peer> &p const unsigned int endOfWorlds = ptr + worldLen; while (ptr < endOfWorlds) { World w; - w.deserialize(*this,ptr); + ptr += w.deserialize(*this,ptr); RR->topology->addWorld(w,true); } } |
