Exemplo n.º 1
0
    private static void InitializeMapThread()
    {
        if (Config.Type != ServerTypes.Game)
        {
            return;
        }

        MapManager.AddConfigMapsToMapManager();
        map_thread_manager = new TheadHelper(new List <Action>()
        {
            () => MapManager.Update()
        });
        map_thread_manager.the_thread.Start();
    }