Skip to content

Commit

Permalink
- forgot to call WriteEnd
Browse files Browse the repository at this point in the history
  • Loading branch information
dpjudas committed Dec 7, 2018
1 parent 9608c2c commit 60e26a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/network/netsync.cpp
Expand Up @@ -131,6 +131,8 @@ void NetSyncClass::WriteSyncUpdate(NetCommand &cmd, AActor *actor)
writer.Write(actor->syncdata.CompareData.Data() + compareoffset, ((uint8_t*)actor) + mSyncVars[i].offset, mSyncVars[i].size);
compareoffset += mSyncVars[i].size;
}

writer.WriteEnd();
}

void NetSyncClass::ReadSyncUpdate(ByteInputStream &stream, AActor *actor)
Expand Down

0 comments on commit 60e26a0

Please sign in to comment.