mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Change read back to peek - guess it was that way for a reason
This commit is contained in:
parent
f73a7c0883
commit
f63360a87a
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
|||
ThreadedAssignment* AssignmentFactory::unpackAssignment(ReceivedMessage& message) {
|
||||
|
||||
quint8 packedType;
|
||||
if (message.readPrimitive(&packedType) != sizeof(packedType)) {
|
||||
if (message.peekPrimitive(&packedType) != sizeof(packedType)) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue