fixed checkpoints and AI
This commit is contained in:
@@ -36,8 +36,17 @@ public class GameManager : MonoBehaviour
|
||||
{
|
||||
GameObject player = players[i];
|
||||
|
||||
if (playersFinished.Contains(player.name) || playersFinished.Contains(player.name + " (player)"))
|
||||
continue;
|
||||
try
|
||||
{
|
||||
if (playersFinished.Contains(player.name) || playersFinished.Contains(player.name + " (player)"))
|
||||
continue;
|
||||
}
|
||||
catch
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool isAI = true;
|
||||
if (player.GetComponent<PlayerController>().enabled)
|
||||
|
||||
Reference in New Issue
Block a user