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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user