优化 print

This commit is contained in:
cakipaul 2025-07-16 01:53:09 +08:00
parent 56874e60cf
commit 440b0a15d6

View File

@ -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()