dont need to always check this 16 times if we already know theres more than one player ingame

This commit is contained in:
Alug committed 2024-10-19 21:14:45 +02:00
1 parent ed7aa81527
commit db425035a4
1 file changed
+4
+4
View File
@@ -47,7 +47,11 @@ boolean K_DirectorIsPlayerAlone(void)
{
if (!playeringame[i] || players[i].spectator)
continue;
pingame++;
if (pingame >= 2) // we dont need to check further
break;
}
return (pingame <= 1);