deaths counter starts at zero even during fade in (fixes #177)
This commit is contained in:
parent
e256cc15cb
commit
b88f212ba1
1 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,9 @@ func _ready():
|
|||
tween.tween_property(music, "rect_position:x", 254.0 - music.rect_size.x, 1.0)
|
||||
tween.tween_interval(3.0)
|
||||
tween.tween_property(music, "rect_position:x", 256.0, 1.0)
|
||||
#Fixes frame 1 2 deaths counter
|
||||
if Game.use_lives == false:
|
||||
lives_counter.text = str(Game.deaths)
|
||||
#Show oxygen meter when underwater
|
||||
# var player = get_tree().get_nodes_in_group("player").pop_back()
|
||||
# if player.underwater == true: oxygen.visible = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue