sanity check nodelist presence

This commit is contained in:
AzaezelX 2021-08-29 01:11:29 -05:00
parent c04f3ae166
commit ad05a78946

View file

@ -79,7 +79,8 @@ void NodeListEvent::unpack(NetConnection* conn, BitStream* stream)
stream->read(&mTotalNodes);
stream->read(&mLocalListStart);
mNodeList->mId = mId;
if (mNodeList)
mNodeList->mId = mId;
// NOTE: Child class needs to populate the local node list
}