diff --git a/voxygen/src/render/renderer.rs b/voxygen/src/render/renderer.rs index 820b1353d2..1e13017d6d 100644 --- a/voxygen/src/render/renderer.rs +++ b/voxygen/src/render/renderer.rs @@ -292,7 +292,7 @@ impl Renderer { path.read_dir() .expect("Could not read the directory that is specified by WGPU_TRACE_DIR") .next() - .is_some(), + .is_none(), "WGPU_TRACE_DIR is set to the path \"{}\" which already contains other files", path.display() );