From 9ffceb55dbcafcc6a212bb6134e4beed4b83b380 Mon Sep 17 00:00:00 2001 From: Sofia Date: Fri, 7 Aug 2026 19:08:09 +0300 Subject: [PATCH] Un-hide maps in debug build --- rust/src/ui/lobby.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {