Merge branch 'xMAC94x/client_lag' into 'master'

extra scope for plot

See merge request veloren/veloren!3266
This commit is contained in:
Marcel 2022-03-09 11:34:55 +00:00
commit dfd1d3a2d9

View File

@ -21,11 +21,11 @@ macro_rules! plot {
#[cfg(feature = "tracy")]
#[macro_export]
macro_rules! plot {
($name:expr, $value:expr) => {
($name:expr, $value:expr) => {{
use $crate::tracy_client::{create_plot, Plot};
static PLOT: Plot = create_plot!($name);
PLOT.point($value);
};
}};
}
// Panic in debug or tests, warn in release