From 440b0a15d6a581ff7ef299c6632b36fda54f2f88 Mon Sep 17 00:00:00 2001 From: cakipaul Date: Wed, 16 Jul 2025 01:53:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20print?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scene/ux/prop_hud.gd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scene/ux/prop_hud.gd b/scene/ux/prop_hud.gd index ef4d3ad9..ef04a7dd 100644 --- a/scene/ux/prop_hud.gd +++ b/scene/ux/prop_hud.gd @@ -236,7 +236,8 @@ func _update_prop_display_with_texture(): var player = SceneManager.get_player() if player: player.set_catty_light(key == "prop_小猫玩具完整") - print("[PropHud] current display prop:", key) + if GlobalConfig.DEBUG: + print("[PropHud] current display prop:", key) # 选中标记 select_mark; 如果被 free 掉,则重新创建 if select_mark and is_instance_valid(select_mark): var parent = select_mark.get_parent()