From dbaeb13c116d9d4b6e79d5978d97d5a35321639d Mon Sep 17 00:00:00 2001 From: catvayor Date: Wed, 11 Sep 2024 17:36:34 +0200 Subject: [PATCH] fix last minute --- src/coords.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/coords.rs b/src/coords.rs index fc3eff2..00f3d5f 100644 --- a/src/coords.rs +++ b/src/coords.rs @@ -46,7 +46,11 @@ pub fn apparent_info( Some(base_view(team)) } } else { - Some(base_view(team)) + if team.state.invisible() { + None + } else { + Some(base_view(team)) + } } } else { Some(admin_view(team).into())