Removing a lot of logging
This commit is contained in:
parent
e88b2248b3
commit
07b63a8426
15 changed files with 9 additions and 67 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue