static Action <Stream> GetCallbackForSuccessfulPlayerJoin(int id, int roundLen) { return(k => { SyncTickData.SetClientID(id); NetDemo.ClientSetRoundLength(roundLen); hasClientID = true; LongEventHandler.QueueLongEvent(CooperateRimming.GenerateWorld, "Waiting to make a world", true, e => { NetDemo.Log(e.ToString()); }); }); }