Fix missing return

This commit is contained in:
tovjemam 2026-01-14 15:29:39 +01:00
parent 421fbdd710
commit 8ae2183d59

View File

@ -12,7 +12,7 @@ bool game::view::ClientSession::ProcessMessage(net::InMessage& msg)
{ {
net::MessageType type = net::MSG_NONE; net::MessageType type = net::MSG_NONE;
if (!msg.Read(type)) if (!msg.Read(type))
break; return true;
if (type == net::MSG_NONE || type >= net::MSG_COUNT) if (type == net::MSG_NONE || type >= net::MSG_COUNT)
return false; return false;