mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-07-06 10:12:12 +08:00
fix: 隐藏玩家状态栏的等级标签
当实体是玩家时,隐藏状态栏中的等级标签以避免显示不必要的信息
This commit is contained in:
@@ -77,6 +77,7 @@ func _ready():
|
|||||||
health = fields.get(FieldStore.Entity.MAX_HEALTH)
|
health = fields.get(FieldStore.Entity.MAX_HEALTH)
|
||||||
energy = fields.get(FieldStore.Entity.MAX_ENERGY) * 0.5
|
energy = fields.get(FieldStore.Entity.MAX_ENERGY) * 0.5
|
||||||
if isPlayer():
|
if isPlayer():
|
||||||
|
statebar.levelLabel.hide()
|
||||||
UIState.player = self
|
UIState.player = self
|
||||||
hurtbox.body_entered.connect(
|
hurtbox.body_entered.connect(
|
||||||
func(body):
|
func(body):
|
||||||
|
|||||||
Reference in New Issue
Block a user