Removing a lot of logging

This commit is contained in:
Dan Baker 2024-05-05 18:08:50 +01:00
parent e88b2248b3
commit 07b63a8426
15 changed files with 9 additions and 67 deletions

View file

@ -7,7 +7,6 @@ var last_update : float = 0
@onready var nectar_bar = get_node("%NectarBar")
func _ready():
Log.pr("UIComponent ready")
update_ui()
func _process(delta):
@ -17,8 +16,9 @@ func _process(delta):
last_update = 0
update_ui()
func update_ui():
Log.pr("UIComponent update_ui")
if GameState.level_complete:
update_ui()
func update_ui():
nectar_bar.value = GameState.gathered_nectar
nectar_bar.max_value = GameState.required_nectar