1
0
mirror of synced 2024-11-14 06:37:36 +01:00

fix some logic

This commit is contained in:
Bobby Dilley 2023-12-28 22:23:38 +00:00
parent dff8639a5b
commit 098f717725

View File

@ -114,7 +114,7 @@ int main(int argc, char *argv[])
}
int index = 0;
while (1)
while (game == NULL)
{
if (strcmp(games[index], "END") == 0)
break;
@ -128,7 +128,7 @@ int main(int argc, char *argv[])
index++;
}
if (game != NULL)
if (game != NULL && lindberghSharedObjectFound)
break;
}