Пример #1
0
static void CheckStartGame(void)
{
    if (AllNodesReady())
    {
        StartGame();
    }
}
Пример #2
0
static void CheckStartGame(void)
{
    if (!AllNodesReady())
    {
        NET_Log("server: not all clients ready to start yet");
        return;
    }

    NET_Log("server: all clients ready, starting game");
    StartGame();
}