1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00

fix: 隐藏玩家状态栏的等级标签

当实体是玩家时,隐藏状态栏中的等级标签以避免显示不必要的信息
This commit is contained in:
2025-08-28 12:52:57 +08:00
parent 53975338a8
commit e877655c13
+1
View File
@@ -77,6 +77,7 @@ func _ready():
health = fields.get(FieldStore.Entity.MAX_HEALTH)
energy = fields.get(FieldStore.Entity.MAX_ENERGY) * 0.5
if isPlayer():
statebar.levelLabel.hide()
UIState.player = self
hurtbox.body_entered.connect(
func(body):