diff --git a/src/Xash3D/Master.php b/src/Xash3D/Master.php index 42b14cc..2714627 100644 --- a/src/Xash3D/Master.php +++ b/src/Xash3D/Master.php @@ -107,13 +107,13 @@ class Master // Get host if (false === $host = fread($socket, 16)) { - break; + continue; } // Is end of packet if (true === str_ends_with(bin2hex($host), bin2hex("\0\0\0\0\0\0"))) { - break; + continue; } // Skip invalid host value