diff --git a/rust/src/ui/lobby.rs b/rust/src/ui/lobby.rs index 9859b1c..635bf7d 100644 --- a/rust/src/ui/lobby.rs +++ b/rust/src/ui/lobby.rs @@ -3,7 +3,7 @@ use std::collections::HashMap; use godot::{ classes::{ Button, CheckBox, CompressedTexture2D, Control, GridContainer, IPanel, Label, LineEdit, - OptionButton, Panel, SpinBox, TabContainer, VBoxContainer, + OptionButton, Os, Panel, SpinBox, TabContainer, VBoxContainer, }, prelude::*, }; @@ -159,7 +159,7 @@ impl IPanel for LobbyPanel { } for (id, map) in game.bind().maps.iter_shared().enumerate() { - if map.bind().hidden { + if map.bind().hidden && !Os::singleton().is_debug_build() { continue; } if let Some(icon) = &map.bind().icon {