This commit is contained in:
incredibleLeitman 2020-01-26 22:30:39 +01:00
parent 2d46eebba6
commit 113c2eca4d

View File

@ -11,6 +11,7 @@ func _ready():
func _process(delta):
# Taking a pill
if Input.is_action_just_pressed("take_pill"):
Pills.take_pill()
#Logger.info("Player took a pill, new level: %s" % [Pills.get_round_level()])
_animation.play("PillTaking")
yield(_animation, "animation_finished")
Pills.take_pill()