Fix stream reads (#894)

No changes expected
This commit is contained in:
David Markowitz
2022-12-18 06:49:13 -08:00
committed by GitHub
parent f41dfaebdf
commit b972acbacc
2 changed files with 5 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ void SwitchMultipleBehavior::Handle(BehaviorContext* context, RakNet::BitStream*
if (!bitStream->Read(value)) {
Game::logger->Log("SwitchMultipleBehavior", "Unable to read value from bitStream, aborting Handle! %i", bitStream->GetNumberOfUnreadBits());
return;
};
uint32_t trigger = 0;